From 93894aca963473936b63812e16e8ee6d6aad1ba1 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 10 Nov 2019 13:27:37 +0000 Subject: [PATCH] Force lowercase --- .../intellectualsites/plotsquared/plot/util/world/BlockUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/world/BlockUtil.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/world/BlockUtil.java index 6ea6d1c6c..7f57e80c2 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/world/BlockUtil.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/world/BlockUtil.java @@ -41,6 +41,7 @@ public final class BlockUtil { if (id.length() == 1 && id.charAt(0) == '*') { return FuzzyBlockState.builder().type(BlockTypes.AIR).build(); } + id = id.toLowerCase(); BlockType type = BlockType.REGISTRY.get(id); if (type != null) { return type.getDefaultState();