null set for target

This commit is contained in:
2023-09-10 13:28:46 -05:00
parent 8acfff7faa
commit be8967b05f
@@ -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