Browse Source

Unused variable removed

combat-2
MagicBot 1 year ago
parent
commit
74f88a6643
  1. 5
      src/engine/net/client/handlers/AttackCmdMsgHandler.java

5
src/engine/net/client/handlers/AttackCmdMsgHandler.java

@ -1,8 +1,6 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.Enum;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.CombatManager; import engine.gameManager.CombatManager;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.AttackCmdMsg; import engine.net.client.msg.AttackCmdMsg;
@ -10,7 +8,6 @@ import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.TargetedActionMsg; import engine.net.client.msg.TargetedActionMsg;
import engine.objects.AbstractWorldObject; import engine.objects.AbstractWorldObject;
import engine.objects.Building; import engine.objects.Building;
import engine.objects.Mob;
import engine.objects.PlayerCharacter; import engine.objects.PlayerCharacter;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
@ -39,8 +36,6 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
msg = (AttackCmdMsg) baseMsg; msg = (AttackCmdMsg) baseMsg;
int targetType;
if (TargetedActionMsg.un2cnt == 60 || TargetedActionMsg.un2cnt == 70) if (TargetedActionMsg.un2cnt == 60 || TargetedActionMsg.un2cnt == 70)
return true; return true;

Loading…
Cancel
Save