Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Changed data cycler override and bedrock override permissions to worldedit.override.*.
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren