Exclude not include noId npc's.

This commit is contained in:
MagicBot committed 2023-04-04 14:57:07 -04:00
1 parent 5a4559d7b2
commit ee115a473d
2 files changed
+2 -2

No files matched your search

+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