From 93dff36ee2f1ec73300839058876b2d3055443ca Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 2 Sep 2021 14:08:49 +0100 Subject: [PATCH] Fix #1265 --- .../worldedit/extension/factory/parser/DefaultBlockParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 db08beb58..dcd31844a 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 @@ -481,7 +481,7 @@ public class DefaultBlockParser extends InputParser { if (nbt != null) { result = blockStates.size() > 0 ? state.toBaseBlock(nbt) : new BlanketBaseBlock(state, nbt); } else { - result = state.toBaseBlock(); + result = blockStates.size() > 0 ? new BaseBlock(state) : state.toBaseBlock(); } return validate(context, result); //FAWE end