From 7ce731d9193c1a77e6d002ab1abc017463c57fdc Mon Sep 17 00:00:00 2001 From: Seefo Date: Sat, 5 Apr 2014 22:16:25 -0400 Subject: [PATCH] Fixed problem where commands that didn't have required abilities wouldn't work --- src/services/command/CommandService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/command/CommandService.java b/src/services/command/CommandService.java index f0c54919..1a94d8ed 100644 --- a/src/services/command/CommandService.java +++ b/src/services/command/CommandService.java @@ -102,7 +102,7 @@ public class CommandService implements INetworkDispatch { CreatureObject actor = (CreatureObject) client.getParent(); - if (!actor.hasAbility(command.getRequiredAbility())) + if (command.getRequiredAbility().length() > 0 && !actor.hasAbility(command.getRequiredAbility())) return; if (actor.hasCooldown(command.getCommandName()))