From 8ae4ded83bacf33b6290ff8b15a0c6a19eecbbdc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 17 Mar 2024 17:10:07 -0500 Subject: [PATCH] safe guards dont aggro players --- 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 748ca798..063ee152 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -1032,7 +1032,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)) == true || awoMob.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) continue; Mob aggroMob = (Mob) awoMob;