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

Dieser Commit ist enthalten in:
sk89q 2011-01-29 22:10:22 -08:00
Ursprung 60442354d0
Commit 4455c9dcd9
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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");
} }
/** /**

Datei anzeigen

@ -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;