public ArrayList<String> getResidentNames() { ArrayList<String> ris = new ArrayList<>(); for (Resident r : residents) { ris.add(Bukkit.getPlayer(r.getPlayer()).getName()); } return ris; }
public ArrayList<String> getAssistantsNames() { ArrayList<String> ris = new ArrayList<>(); { for (Resident r : assistants) { ris.add(Bukkit.getPlayer(r.getPlayer()).getName()); } } return ris; }
public boolean isMayor(Resident r) { return mayor.equals(r); }