| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -39,12 +39,12 @@ public enum ZoneManager { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /* Instance variables */ | 
					 | 
					 | 
					 | 
					    /* Instance variables */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private static Zone seaFloor = null; | 
					 | 
					 | 
					 | 
					    private static Zone seaFloor = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private static Zone hotzone = null; | 
					 | 
					 | 
					 | 
					    private static Zone hotzone = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static  ConcurrentHashMap<Integer, Zone> zonesByID = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
					 | 
					 | 
					 | 
					    private static final ConcurrentHashMap<Integer, Zone> zonesByID = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static  ConcurrentHashMap<Integer, Zone> zonesByUUID = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
					 | 
					 | 
					 | 
					    private static final ConcurrentHashMap<Integer, Zone> zonesByUUID = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static  ConcurrentHashMap<String, Zone> zonesByName = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
					 | 
					 | 
					 | 
					    private static final ConcurrentHashMap<String, Zone> zonesByName = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static  Set<Zone> macroZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
					 | 
					 | 
					 | 
					    private static final Set<Zone> macroZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static  Set<Zone> npcCityZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
					 | 
					 | 
					 | 
					    private static final Set<Zone> npcCityZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private static Set<Zone> playerCityZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
					 | 
					 | 
					 | 
					    private static final Set<Zone> playerCityZones = Collections.newSetFromMap(new ConcurrentHashMap<>()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Find all zones coordinates fit into, starting with Sea Floor
 | 
					 | 
					 | 
					 | 
					    // Find all zones coordinates fit into, starting with Sea Floor
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public static ArrayList<Zone> getAllZonesIn(final Vector3fImmutable loc) { | 
					 | 
					 | 
					 | 
					    public static ArrayList<Zone> getAllZonesIn(final Vector3fImmutable loc) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -243,8 +243,7 @@ public enum ZoneManager { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * Gets a MacroZone by name. | 
					 | 
					 | 
					 | 
					     * Gets a MacroZone by name. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * | 
					 | 
					 | 
					 | 
					     * | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 * @param inputName | 
					 | 
					 | 
					 | 
					     * @param inputName MacroZone name to search for | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 *            MacroZone name to search for | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @return Zone of the MacroZone, or Null | 
					 | 
					 | 
					 | 
					     * @return Zone of the MacroZone, or Null | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     */ | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -292,8 +291,6 @@ public enum ZoneManager { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        localCoords.setY((serverZone.getBounds().getHalfExtents().y * 2) - localCoords.y); | 
					 | 
					 | 
					 | 
					        localCoords.setY((serverZone.getBounds().getHalfExtents().y * 2) - localCoords.y); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // TODO : Make sure this value does not go outside the zone's bounds.
 | 
					 | 
					 | 
					 | 
					        // TODO : Make sure this value does not go outside the zone's bounds.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return localCoords; | 
					 | 
					 | 
					 | 
					        return localCoords; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -426,7 +423,6 @@ public enum ZoneManager { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        zoneList = currentZone.getNodes(); | 
					 | 
					 | 
					 | 
					        zoneList = currentZone.getNodes(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        for (Zone zone : zoneList) { | 
					 | 
					 | 
					 | 
					        for (Zone zone : zoneList) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (zone.isContininent()) | 
					 | 
					 | 
					 | 
					            if (zone.isContininent()) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |