Abstracted super pickaxe mode/tools and changed commands to /tree, /info, /none, /single, /area, and /recur.

This commit is contained in:
sk89q
2011-01-01 21:50:31 -08:00
parent 806081cc59
commit 1ed99f2337
16 changed files with 915 additions and 422 deletions

View File

@@ -477,6 +477,15 @@ public abstract class LocalPlayer {
* @return
*/
public abstract boolean hasPermission(String perm);
/**
* Returns true if the player can destroy bedrock.
*
* @return
*/
public boolean canDestroyBedrock() {
return hasPermission("worldeditbedrock");
}
/**
* Returns true if equal.