From 7671586cb0b570d31b301470b594ef6ccc1cf868 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 3 Sep 2024 21:13:25 -0500 Subject: [PATCH] terraform issue --- src/engine/mobileAI/MobAI.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 86ec7fd6..4b3181fd 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -652,7 +652,10 @@ public class MobAI { mob.setCombatTarget(null); return; } - CheckToSendMobHome(mob); + + if(mob.isPet() == false && mob.isPlayerGuard == false) + CheckToSendMobHome(mob); + if (mob.getCombatTarget() != null) { if (mob.getCombatTarget().isAlive() == false) {