From 7fc0d27c3c83ccf20328e79847dca1f5b5c9cc1f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 31 Aug 2023 08:31:48 -0400 Subject: [PATCH] Siege engine agent type set properly. --- 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 1806643e..b2f26e91 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -510,7 +510,6 @@ public class Mob extends AbstractIntelligenceAgent { siegeMinion.guardCaptain = artyCaptain; siegeMinion.parentZoneUUID = artyCaptain.parentZoneUUID; siegeMinion.behaviourType = MobBehaviourType.SiegeEngine; - siegeMinion.agentType = AIAgentType.SIEGEENGINE; siegeMinion.bindLoc = Vector3fImmutable.ZERO; siegeMinion.spawnTime = (60 * 15); @@ -1556,6 +1555,9 @@ public class Mob extends AbstractIntelligenceAgent { case Pet1: this.agentType = AIAgentType.PET; break; + case SiegeEngine: + this.agentType = AIAgentType.SIEGEENGINE; + break; } }