From e00328ae13f13040fbdd95de52a65bd0ca49854b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 21 Aug 2023 15:09:10 -0400 Subject: [PATCH] Siege pets use slotting mechanic. --- src/engine/objects/Mob.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index e37da320..1c559543 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -889,7 +889,9 @@ public class Mob extends AbstractIntelligenceAgent { if (this.building != null) { - if (this.contract == null) { + // Siege mobiles don't have contracts. + + if (this.contract == null && !this.agentType.equals(AIAgentType.PET)) { // Mobiles inside buildings are offset from it not the zone