From 8890826070902c590fa0beaf17dcbb70f35ae4de Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 28 Dec 2024 04:37:36 -0600 Subject: [PATCH] fixed bug with trebs spamming console --- src/engine/mobileAI/MobAI.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 6df1322a..1f515bb4 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -923,6 +923,11 @@ public class MobAI { private static void CheckToSendMobHome(Mob mob) { try { + + //trebs dont recall + if(mob.isSiege()) + return; + if(mob.BehaviourType.equals(Enum.MobBehaviourType.Pet1)){ if(mob.loc.distanceSquared(mob.getOwner().loc) > 60 * 60) mob.teleport(mob.getOwner().loc);