From 88e09c479fc128154b025bc6957f848d3a8b8586 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 22 Apr 2023 23:12:45 -0500 Subject: [PATCH] wall archers no longer spawn minions --- src/engine/net/client/msg/ManageNPCMsg.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/net/client/msg/ManageNPCMsg.java b/src/engine/net/client/msg/ManageNPCMsg.java index 07b995ac..95c1e7ed 100644 --- a/src/engine/net/client/msg/ManageNPCMsg.java +++ b/src/engine/net/client/msg/ManageNPCMsg.java @@ -675,6 +675,9 @@ public class ManageNPCMsg extends ClientNetMsg { maxSlots = 1; } + if(NPC.ISGuardCaptain(mobA.getContract().getContractID()) == false){ + maxSlots =0; + } writer.putInt(0); //anything other than 0 seems to mess up the client writer.putInt(targetType); writer.putInt(targetID);