if (residences.containsKey(newName)) {
if (player != null)
player.sendMessage(ChatColor.RED + Residence.getLanguage().getPhrase("ResidenceAlreadyExists", ChatColor.YELLOW + newName + ChatColor.RED));
return false;
}
ResidenceRenameEvent resevent = new ResidenceRenameEvent(res, newName, oldName);
Residence.getServ().getPluginManager().callEvent(resevent);
removeChunkList(oldName);
residences.put(newName, res);
residences.remove(oldName);
calculateChunks(newName);