forked from MagicBane/Server
add npc command
This commit is contained in:
@@ -470,8 +470,11 @@ public class NPC extends AbstractCharacter {
|
||||
newNPC.bindLoc = Vector3fImmutable.ZERO;
|
||||
|
||||
newNPC.parentZoneUUID = parent.getObjectUUID();
|
||||
newNPC.guildUUID = guild.getObjectUUID();
|
||||
|
||||
if(guild == null){
|
||||
newNPC.guildUUID = Guild.getErrantGuild().getObjectUUID();
|
||||
}else {
|
||||
newNPC.guildUUID = guild.getObjectUUID();
|
||||
}
|
||||
if (building == null)
|
||||
newNPC.buildingUUID = 0;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user