Attack early exit
This commit is contained in:
1 parent
2fb8f53751
commit
791e5cb9b8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user