diff --git a/src/engine/net/client/handlers/AttackCmdMsgHandler.java b/src/engine/net/client/handlers/AttackCmdMsgHandler.java index 3c137631..5a2fc6ca 100644 --- a/src/engine/net/client/handlers/AttackCmdMsgHandler.java +++ b/src/engine/net/client/handlers/AttackCmdMsgHandler.java @@ -64,7 +64,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { } if(target == null) { - playerCharacter.setCombatTarget(target); + playerCharacter.setCombatTarget(null); return true; // cannot attack a null target } //set sources target