mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
parent
bcdbbe9546
commit
22dc5dcebd
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ public class EssentialsPlayerListener implements Listener {
|
||||||
return command != null
|
return command != null
|
||||||
&& command.getPlugin().getName().equals("Essentials")
|
&& command.getPlugin().getName().equals("Essentials")
|
||||||
&& (ess.getSettings().isCommandOverridden(commandLabel) || (ess.getAlternativeCommandsHandler().getAlternative(commandLabel) == null))
|
&& (ess.getSettings().isCommandOverridden(commandLabel) || (ess.getAlternativeCommandsHandler().getAlternative(commandLabel) == null))
|
||||||
&& !user.isAuthorized("essentials." + command.getName());
|
&& !user.isAuthorized(command.getName().equals("r") ? "essentials.msg" : "essentials." + command.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue