mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Fixes #1310
This commit is contained in:
@ -501,7 +501,10 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
||||
CompoundTag nbt = holder.getNbtData();
|
||||
if (nbt != null) {
|
||||
if (!actor.hasPermission("worldedit.anyblock.nbt")) {
|
||||
throw new DisallowedUsageException(Caption.of("fawe.error.nbt.forbidden"));
|
||||
throw new DisallowedUsageException(Caption.of(
|
||||
"fawe.error.nbt.forbidden",
|
||||
TextComponent.of("worldedit.anyblock.nbt")
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user