Exclude not include noId npc's.

This commit is contained in:
2023-04-04 14:57:07 -04:00
parent 5a4559d7b2
commit ee115a473d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -808,7 +808,7 @@ public class Mob extends AbstractIntelligenceAgent {
// otherwise use the mob cache location.
if (this.building != null && building.getBlueprintUUID() != 0
&& this.loadID == 0) {
&& this.loadID != 0) {
int maxSlots = 10;
+1 -1
View File
@@ -357,7 +357,7 @@ public class NPC extends AbstractCharacter {
// createMobWithNoID() is called.
if (this.building != null &&
this.loadID == 0) {
this.loadID != 0) {
// Artillery Tower Captains use a hardcoded slot not first available