| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -78,10 +78,14 @@ public class AddNPCCmd extends AbstractDevCmd { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        NPC created; | 
					 | 
					 | 
					 | 
					        NPC created; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        Guild guild = null; | 
					 | 
					 | 
					 | 
					        Guild guild = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        Vector3fImmutable loc; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if(building != null){ | 
					 | 
					 | 
					 | 
					        if(building != null){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            guild = building.getGuild(); | 
					 | 
					 | 
					 | 
					            guild = building.getGuild(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            loc = building.loc; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        } else{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            loc = pc.loc; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        created = NPC.createNPC(name, contractID, Vector3fImmutable.ZERO, guild, zone, (short)level, building); | 
					 | 
					 | 
					 | 
					        created = NPC.createNPC(name, contractID, loc, guild, zone, (short)level, building); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if(building != null) { | 
					 | 
					 | 
					 | 
					        if(building != null) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        created.buildingUUID = building.getObjectUUID(); | 
					 | 
					 | 
					 | 
					        created.buildingUUID = building.getObjectUUID(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        created.building = building; | 
					 | 
					 | 
					 | 
					        created.building = building; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |