mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Changed data cycler override and bedrock override permissions to worldedit.override.*.
This commit is contained in:
parent
60442354d0
commit
4455c9dcd9
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user