From 8c38ac0fbca1426ad626c9ddd3665bdf3b2cee4c Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 11 May 2020 13:38:06 +0100 Subject: [PATCH] Fix #460 --- .../extension/factory/parser/DefaultBlockParser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/parser/DefaultBlockParser.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/parser/DefaultBlockParser.java index 659760670..31491b2b8 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/parser/DefaultBlockParser.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/parser/DefaultBlockParser.java @@ -364,6 +364,12 @@ public class DefaultBlockParser extends InputParser { } state = fuzzyBuilder.build(); } + } else { + for (Map.Entry, Object> blockState : blockStates.entrySet()) { + @SuppressWarnings("unchecked") + Property objProp = (Property) blockState.getKey(); + state = state.with(objProp, blockState.getValue()); + } } } // this should be impossible but IntelliJ isn't that smart