|
|
@ -461,6 +461,8 @@ public class NPC extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
NPC newNPC = new NPC(); |
|
|
|
NPC newNPC = new NPC(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newNPC.parentZoneUUID = parent.getObjectUUID(); |
|
|
|
|
|
|
|
|
|
|
|
newNPC.name = name; |
|
|
|
newNPC.name = name; |
|
|
|
newNPC.contractUUID = contractID; |
|
|
|
newNPC.contractUUID = contractID; |
|
|
|
|
|
|
|
|
|
|
@ -469,7 +471,9 @@ public class NPC extends AbstractCharacter { |
|
|
|
else |
|
|
|
else |
|
|
|
newNPC.bindLoc = Vector3fImmutable.ZERO; |
|
|
|
newNPC.bindLoc = Vector3fImmutable.ZERO; |
|
|
|
|
|
|
|
|
|
|
|
newNPC.parentZoneUUID = parent.getObjectUUID(); |
|
|
|
if (guild == null) |
|
|
|
|
|
|
|
newNPC.guildUUID = 0; |
|
|
|
|
|
|
|
else |
|
|
|
newNPC.guildUUID = guild.getObjectUUID(); |
|
|
|
newNPC.guildUUID = guild.getObjectUUID(); |
|
|
|
|
|
|
|
|
|
|
|
if (building == null) |
|
|
|
if (building == null) |
|
|
|