|
|
|
@ -467,7 +467,7 @@ public enum BuildingManager {
@@ -467,7 +467,7 @@ public enum BuildingManager {
|
|
|
|
|
|
|
|
|
|
NPC npc = null; |
|
|
|
|
|
|
|
|
|
npc = NPC.createNPC( pirateName, NpcID.getObjectUUID(), NpcLoc, null, false, zone, (short) rank, false, building); |
|
|
|
|
npc = NPC.createNPC(pirateName, NpcID.getObjectUUID(), NpcLoc, null, false, zone, (short) rank, building); |
|
|
|
|
|
|
|
|
|
if (npc == null) |
|
|
|
|
return false; |
|
|
|
@ -522,7 +522,7 @@ public enum BuildingManager {
@@ -522,7 +522,7 @@ public enum BuildingManager {
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
npc = NPC.createNPC(pirateName, contract.getObjectUUID(), Vector3fImmutable.ZERO, contractOwner.getGuild(), false, zone, (short) rank, false, building); |
|
|
|
|
npc = NPC.createNPC(pirateName, contract.getObjectUUID(), Vector3fImmutable.ZERO, contractOwner.getGuild(), false, zone, (short) rank, building); |
|
|
|
|
|
|
|
|
|
if (npc == null) |
|
|
|
|
return false; |
|
|
|
|