loadID is needed; different mob.

This commit is contained in:
2023-04-04 13:56:34 -04:00
parent a01a342fd8
commit 14c4443f20
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. // otherwise use the mob cache location.
if (this.building != null && building.getBlueprintUUID() != 0 if (this.building != null && building.getBlueprintUUID() != 0
&& this.building.getHirelings().contains(this) == false) { && this.loadID == 0) {
int maxSlots = 10; int maxSlots = 10;
+1 -1
View File
@@ -357,7 +357,7 @@ public class NPC extends AbstractCharacter {
// createMobWithNoID() is called. // createMobWithNoID() is called.
if (this.building != null && if (this.building != null &&
this.building.getHirelings().contains(this) == false) { this.loadID == 0) {
int maxSlots = 10; int maxSlots = 10;