mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Removed unused condition from if-statement in CommandService
This commit is contained in:
@@ -86,7 +86,7 @@ public class CommandService implements INetworkDispatch {
|
||||
if (command == null)
|
||||
return false;
|
||||
|
||||
if (command.getCharacterAbility().length() > 0 && !actor.hasAbility(command.getCharacterAbility()) && !command.getCharacterAbility().equals("admin"))
|
||||
if (command.getCharacterAbility().length() > 0 && !actor.hasAbility(command.getCharacterAbility()))
|
||||
return false;
|
||||
|
||||
if (command.isDisabled())
|
||||
|
||||
Reference in New Issue
Block a user