From 74f88a6643382ffcda4e364a7bd228094ee4e7aa Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 10 Sep 2023 14:04:48 -0400 Subject: [PATCH] Unused variable removed --- src/engine/net/client/handlers/AttackCmdMsgHandler.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/net/client/handlers/AttackCmdMsgHandler.java b/src/engine/net/client/handlers/AttackCmdMsgHandler.java index a08bec73..f724842d 100644 --- a/src/engine/net/client/handlers/AttackCmdMsgHandler.java +++ b/src/engine/net/client/handlers/AttackCmdMsgHandler.java @@ -1,8 +1,6 @@ package engine.net.client.handlers; -import engine.Enum; import engine.exception.MsgSendException; -import engine.gameManager.BuildingManager; import engine.gameManager.CombatManager; import engine.net.client.ClientConnection; import engine.net.client.msg.AttackCmdMsg; @@ -10,7 +8,6 @@ import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.TargetedActionMsg; import engine.objects.AbstractWorldObject; import engine.objects.Building; -import engine.objects.Mob; import engine.objects.PlayerCharacter; import org.pmw.tinylog.Logger; @@ -39,8 +36,6 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { msg = (AttackCmdMsg) baseMsg; - int targetType; - if (TargetedActionMsg.un2cnt == 60 || TargetedActionMsg.un2cnt == 70) return true;