From 0f948d4e2a9660ce24a90429d8963195af8e6a65 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 10 Sep 2023 13:39:27 -0500 Subject: [PATCH] removed redundant setCombatTarget --- src/engine/net/client/handlers/AttackCmdMsgHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/engine/net/client/handlers/AttackCmdMsgHandler.java b/src/engine/net/client/handlers/AttackCmdMsgHandler.java index 89ec350b..0f117971 100644 --- a/src/engine/net/client/handlers/AttackCmdMsgHandler.java +++ b/src/engine/net/client/handlers/AttackCmdMsgHandler.java @@ -67,7 +67,6 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { } if(target == null) { - playerCharacter.setCombatTarget(null); return true; // cannot attack a null target } //set sources target