Fixed null exception

This commit is contained in:
Treeku
2014-04-08 06:16:33 +01:00
parent c7ea253620
commit 7eaed057c7
+1 -1
View File
@@ -478,7 +478,7 @@ public class CommandService implements INetworkDispatch {
return;
}
if(command.getHitType() == 0 && command.getBuffNameSelf().length() > 0) {
if(command.getHitType() == 0 && command.getBuffNameSelf() != null && command.getBuffNameSelf().length() > 0) {
core.combatService.doSelfBuff(attacker, weapon, command, actionCounter);
return;
}