From 1322f8610c3f6f8d1092c86ed43696fc8ccb279e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 23 Jun 2024 20:03:41 -0500 Subject: [PATCH] safe guards dont kill pets anymore --- src/engine/mobileAI/MobAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 66338b8f..25d17666 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -1007,7 +1007,7 @@ public class MobAI { //dont scan self. - if (mob.equals(awoMob) || (mob.agentType.equals(Enum.AIAgentType.GUARD)) == true) + if (mob.equals(awoMob) || (mob.agentType.equals(Enum.AIAgentType.GUARD)) || (mob.agentType.equals(Enum.AIAgentType.PET))) continue; Mob aggroMob = (Mob) awoMob;