fix: use correct string for disallowed property use

This commit is contained in:
dordsor21 2023-03-22 17:28:50 +00:00
parent eb1c9dc4db
commit d82bf0527e
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -207,7 +207,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
}).collect(Collectors.toSet());
if (!blocked.isEmpty()) {
throw new DisallowedUsageException(Caption.of(
"fawe.error.limit.disallowed-block",
"fawe.error.limit.disallowed-property",
TextComponent.of(input)
));
}