Browse Source

null set for target

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

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

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

Loading…
Cancel
Save