Browse Source

removed redundant setCombatTarget

feature-workorder
FatBoy-DOTC 1 year ago
parent
commit
0f948d4e2a
  1. 1
      src/engine/net/client/handlers/AttackCmdMsgHandler.java

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

@ -67,7 +67,6 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { @@ -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

Loading…
Cancel
Save