Browse Source

wall archers no longer spawn minions

master
FatBoy-DOTC 2 years ago
parent
commit
88e09c479f
  1. 3
      src/engine/net/client/msg/ManageNPCMsg.java

3
src/engine/net/client/msg/ManageNPCMsg.java

@ -675,6 +675,9 @@ public class ManageNPCMsg extends ClientNetMsg { @@ -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);

Loading…
Cancel
Save