Advertisement
jacklin213

Untitled

Apr 20th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. List<Resident> noTown = TownyUniverse.getDataSource().getResidentsWithoutTown();
  2. for (Resident resident : noTown) {
  3. log.info(resident.getName());
  4. log.info("Has a town: " + (resident.hasTown() ? "yes" : "no"));
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement