Attack early exit

This commit is contained in:
2024-04-02 12:36:36 -04:00
parent 2fb8f53751
commit 791e5cb9b8
@@ -68,7 +68,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
return true; // cannot attack a null target
}
if (playerCharacter.getCombatTarget().equals(target))
if (playerCharacter.isCombat() && playerCharacter.getCombatTarget().equals(target))
return true;
//set sources target