The following method can be used to retrieve Land from org.bukkit.Location:
final Optional<Land> landOptional = Territory.getLandWithin(location); if (landOptional.isPresent()) { Land land = landOptional.get(); }
Last updated 1 month ago