From 4455c9dcd9663e54ec11e65f07076ae011ef3b8e Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 29 Jan 2011 22:10:22 -0800 Subject: [PATCH] Changed data cycler override and bedrock override permissions to worldedit.override.*. --- src/com/sk89q/worldedit/LocalPlayer.java | 2 +- src/com/sk89q/worldedit/superpickaxe/BlockDataCyler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/sk89q/worldedit/LocalPlayer.java b/src/com/sk89q/worldedit/LocalPlayer.java index c809954de..405eb3af1 100644 --- a/src/com/sk89q/worldedit/LocalPlayer.java +++ b/src/com/sk89q/worldedit/LocalPlayer.java @@ -542,7 +542,7 @@ public abstract class LocalPlayer { * @return */ public boolean canDestroyBedrock() { - return hasPermission("worldedit.bedrock"); + return hasPermission("worldedit.override.bedrock"); } /** diff --git a/src/com/sk89q/worldedit/superpickaxe/BlockDataCyler.java b/src/com/sk89q/worldedit/superpickaxe/BlockDataCyler.java index 11bcb5411..5f8b1576b 100644 --- a/src/com/sk89q/worldedit/superpickaxe/BlockDataCyler.java +++ b/src/com/sk89q/worldedit/superpickaxe/BlockDataCyler.java @@ -38,7 +38,7 @@ public class BlockDataCyler implements SuperPickaxeMode { int data = world.getBlockData(clicked); if (config.allowedDataCycleBlocks.size() > 0 - && !player.hasPermission("worldedit.superpickaxe.data-cycler.any") + && !player.hasPermission("worldedit.override.data-cycler") && !config.allowedDataCycleBlocks.contains(type)) { player.printError("You are not permitted to cycle the data value of that block."); return true;