ENGLISH > ROOT

This commit is contained in:
Alexander Söderberg 2020-05-11 22:21:37 +02:00
parent 3c5dd3d0d2
commit 81aaba328a
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678

View File

@ -95,7 +95,7 @@ public class Set extends SubCommand {
if (blockType.startsWith("##")) {
try {
final BlockCategory category = BlockCategory.REGISTRY.get(blockType.substring(2).toLowerCase(Locale.ROOT));
final BlockCategory category = BlockCategory.REGISTRY.get(blockType.substring(2).toLowerCase(Locale.ENGLISH));
if (category == null || !category.contains(BlockTypes.get(forbiddenType))) {
continue;
}