mobs no longer try to cancel auto-attack jobs they dont have

This commit is contained in:
2024-06-04 20:39:15 -05:00
parent 9ff7e07545
commit 4f28fefbc2
@@ -632,6 +632,8 @@ public enum CombatManager {
}
public static void cancelAutoAttackJob(AbstractCharacter attacker, mbEnums.EquipSlotType slot) {
if(attacker.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter) == false)
return;
attacker.getTimestamps().put("Attack" + slot.name(), System.currentTimeMillis());
//handle auto attack job creation