diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 5666f6b0..73ae18de 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -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; diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index bfb341e9..a1de9fa6 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -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