Actually we need an adminmode check as well.
This commit is contained in:
1 parent
6853923264
commit
89b93801d0
1 file changed
+1
-1
@@ -52,7 +52,7 @@ public class CmdFactionsTitle extends FactionsCommand
|
||||
if ( ! MPerm.getPermTitle().has(msender, you.getFaction(), true)) return;
|
||||
|
||||
// Rank Check
|
||||
if (you.getRole().isMoreThan(msender.getRole()))
|
||||
if (!msender.isUsingAdminMode() && you.getRole().isMoreThan(msender.getRole()))
|
||||
{
|
||||
msg("<b>You can not edit titles for higher ranks.");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user