return;
// Stores NPC location/name for later respawn.
for (HumanNPC npc : NPCManager.getList().values()) {
if (event.getWorld().equals(npc.getWorld()) && event.getChunk().getX() == npc.getChunkX()
&& event.getChunk().getZ() == npc.getChunkZ()) {
NPCLocation loc = new NPCLocation(npc.getLocation(), npc.getUID(), npc.getOwner());
toRespawn.put(loc, npc.getUID());
PropertyManager.save(npc);
NPCManager.safeDespawn(npc);
Messaging.debug("Despawned", npc.getUID(), "due to chunk unload at", npc.getChunkX(), npc.getChunkZ());
}