geforkt von Mirrors/FastAsyncWorldEdit
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();
|
CompoundTag nbt = holder.getNbtData();
|
||||||
if (nbt != null) {
|
if (nbt != null) {
|
||||||
if (!actor.hasPermission("worldedit.anyblock")) {
|
if (!actor.hasPermission("worldedit.anyblock.nbt")) {
|
||||||
throw new DisallowedUsageException(Caption.of("fawe.error.nbt.forbidden"));
|
throw new DisallowedUsageException(Caption.of("fawe.error.nbt.forbidden"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren