Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Split up worldedit.anyblock
and worldedit.anyblock.nbt
for specific nbt operations
Dieser Commit ist enthalten in:
Ursprung
391869cf3a
Commit
7af06a533b
@ -470,7 +470,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
||||
}
|
||||
CompoundTag nbt = holder.getNbtData();
|
||||
if (nbt != null) {
|
||||
if (!actor.hasPermission("worldedit.anyblock")) {
|
||||
if (!actor.hasPermission("worldedit.anyblock.nbt")) {
|
||||
throw new DisallowedUsageException(Caption.of("fawe.error.nbt.forbidden"));
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren