forked from MagicBane/Server
Exclude not include noId npc's.
This commit is contained in:
@@ -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.loadID == 0) {
|
&& this.loadID != 0) {
|
||||||
|
|
||||||
int maxSlots = 10;
|
int maxSlots = 10;
|
||||||
|
|
||||||
|
|||||||
@@ -357,7 +357,7 @@ public class NPC extends AbstractCharacter {
|
|||||||
// createMobWithNoID() is called.
|
// createMobWithNoID() is called.
|
||||||
|
|
||||||
if (this.building != null &&
|
if (this.building != null &&
|
||||||
this.loadID == 0) {
|
this.loadID != 0) {
|
||||||
|
|
||||||
// Artillery Tower Captains use a hardcoded slot not first available
|
// Artillery Tower Captains use a hardcoded slot not first available
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user