Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 03:50:06 +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
|
||||
*/
|
||||
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);
|
||||
|
||||
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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren