Esempio n. 1
0
 public Plot setOwner(Player player) {
   return setOwner(PlotOwner.create(player));
 }
Esempio 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);
 }