Fixed some abilities not working

This commit is contained in:
Treeku
2014-06-18 19:45:55 +01:00
parent 676da223e2
commit acbb63dddb
-5
View File
@@ -451,11 +451,6 @@ public class CommandService implements INetworkDispatch {
}
public void processCombatCommand(CreatureObject attacker, SWGObject target, CombatCommand command, int actionCounter, String commandArgs) {
if (target == null) {
System.err.println("ProcessCombatCommand: Target is null");
return;
}
if (FileUtilities.doesFileExist("scripts/commands/combat/" + command.getCommandName() + ".py")) {
core.scriptService.callScript("scripts/commands/combat/", command.getCommandName(), "setup", core, attacker, target, command);
}