Abstracted super pickaxe mode/tools and changed commands to /tree, /info, /none, /single, /area, and /recur.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user