Browse Source

null set for target

combat-2
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 {
} }
if(target == null) { if(target == null) {
playerCharacter.setCombatTarget(target); playerCharacter.setCombatTarget(null);
return true; // cannot attack a null target return true; // cannot attack a null target
} }
//set sources target //set sources target

Loading…
Cancel
Save