Changed data cycler override and bedrock override permissions to worldedit.override.*.

This commit is contained in:
sk89q 2011-01-29 22:10:22 -08:00
parent 60442354d0
commit 4455c9dcd9
2 changed files with 2 additions and 2 deletions

View File

@ -542,7 +542,7 @@ public abstract class LocalPlayer {
* @return * @return
*/ */
public boolean canDestroyBedrock() { public boolean canDestroyBedrock() {
return hasPermission("worldedit.bedrock"); return hasPermission("worldedit.override.bedrock");
} }
/** /**

View File

@ -38,7 +38,7 @@ public class BlockDataCyler implements SuperPickaxeMode {
int data = world.getBlockData(clicked); int data = world.getBlockData(clicked);
if (config.allowedDataCycleBlocks.size() > 0 if (config.allowedDataCycleBlocks.size() > 0
&& !player.hasPermission("worldedit.superpickaxe.data-cycler.any") && !player.hasPermission("worldedit.override.data-cycler")
&& !config.allowedDataCycleBlocks.contains(type)) { && !config.allowedDataCycleBlocks.contains(type)) {
player.printError("You are not permitted to cycle the data value of that block."); player.printError("You are not permitted to cycle the data value of that block.");
return true; return true;