public class TARDISTownyChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TARDISTownyChecker.TownyData
Data class to store check results so we can reuse them again if needed.
|
Constructor and Description |
---|
TARDISTownyChecker(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkTowny(org.bukkit.entity.Player p,
org.bukkit.Location l)
Checks whether a player can land in a location that may be in a Towny town.
|
boolean |
playerHasPermission(org.bukkit.entity.Player player,
org.bukkit.block.Block block) |
public TARDISTownyChecker(TARDIS plugin)
public boolean playerHasPermission(org.bukkit.entity.Player player, org.bukkit.block.Block block)
public boolean checkTowny(org.bukkit.entity.Player p, org.bukkit.Location l)
p
- the playerl
- the location instance to check