From 65de3642d644f57a2d4552561c1336b4e6904bff Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Thu, 24 Oct 2024 20:26:05 +0200 Subject: [PATCH] Use default nbt when parsing blocks (#2945) --- .../worldedit/extension/factory/parser/DefaultBlockParser.java | 1 + 1 file changed, 1 insertion(+) 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 03cfb51e3..7ef47de45 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 @@ -465,6 +465,7 @@ public class DefaultBlockParser extends InputParser { if (state == null) { throw new NoMatchException(Caption.of("fawe.error.invalid-block-type", TextComponent.of(input))); } + nbt = state.getNbtData(); } //FAWE end