Fix bug where people couldn't edit their own title
This commit is contained in:
1 parent
4c8094f3e0
commit
b134bc705b
1 file changed
+1
-1
@@ -48,7 +48,7 @@ public class CmdFactionsTitle extends FactionsCommand
|
||||
{
|
||||
throw new MassiveException().addMsg("<b>You can not edit titles for higher ranks.");
|
||||
}
|
||||
if (!msender.isOverriding() && you.getRank() == msender.getRank())
|
||||
if (!msender.isOverriding() && you.getRank() == msender.getRank() && msender != you)
|
||||
{
|
||||
throw new MassiveException().addMsg("<b>You can't edit titles of people with the same rank as yourself.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user