Ejemplo n.º 1
0
 public Plot setOwner(Player player) {
   return setOwner(PlotOwner.create(player));
 }
Ejemplo n.º 2
0
 public boolean allows(Player actor) {
   if (owner == PlotOwner.NONE) return true;
   if (actor == null) return false;
   if (actor.hasPermission("chunkcontrol.access")) return true;
   return owner.has(actor);
 }