try {
Resident resident = townBlock.getResident();
if (town.isMayor(resident) || town.hasAssistant(resident)) {
continue;
}
if (!resident.payTo(townBlock.getType().getTax(town), town, String.format("Plot Tax (%s)", townBlock.getType()))) {
TownyMessaging.sendTownMessage(town, String.format(TownySettings.getLangString("msg_couldnt_pay_plot_taxes"), resident));
townBlock.setResident(null);
TownyUniverse.getDataSource().saveResident(resident);
TownyUniverse.getDataSource().saveWorld(townBlock.getWorld());
}// else {