Fixed error when NPCs heal

This commit is contained in:
Treeku
2014-06-18 03:05:13 +01:00
parent 786fb69fb1
commit 0748d34dbe
+1 -1
View File
@@ -942,7 +942,7 @@ public class CombatService implements INetworkDispatch {
if(success && !applySpecialCost(healer, weapon, command))
success = false;
if(!success) {
if(!success && healer.getClient() != null) {
IoSession session = healer.getClient().getSession();
CommandEnqueueRemove commandRemove = new CommandEnqueueRemove(healer.getObjectId(), actionCounter);
session.write(new ObjControllerMessage(0x0B, commandRemove).serialize());