Actually we need an adminmode check as well.
This commit is contained in:
parent
6853923264
commit
89b93801d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user