Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 11:00:04 +01:00
Fixes #1310
Dieser Commit ist enthalten in:
Ursprung
8cc93a2255
Commit
5f7411114e
@ -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")
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -109,7 +109,7 @@
|
||||
"fawe.error.parser.invalid-data": "Invalid data: {0}",
|
||||
"fawe.error.unsupported": "Unsupported!",
|
||||
"fawe.error.invalid-block-type": "Does not match a valid block type: {0}",
|
||||
"fawe.error.nbt.forbidden": "You are not allowed to use nbt.",
|
||||
"fawe.error.nbt.forbidden": "You are not allowed to use nbt. Lacking permission: {0}",
|
||||
"fawe.error.invalid-arguments": "Invalid amount of arguments. Expected: {0}",
|
||||
"fawe.error.unrecognised-tag": "Unrecognised tag: {0} {1}",
|
||||
"fawe.error.unknown-block-tag": "Unknown block tag: {0}",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren