Use default nbt when parsing blocks (#2945)

This commit is contained in:
Hannes Greule 2024-10-24 20:26:05 +02:00 committed by GitHub
parent fffa5a12ab
commit 65de3642d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,6 +465,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
if (state == null) { if (state == null) {
throw new NoMatchException(Caption.of("fawe.error.invalid-block-type", TextComponent.of(input))); throw new NoMatchException(Caption.of("fawe.error.invalid-block-type", TextComponent.of(input)));
} }
nbt = state.getNbtData();
} }
//FAWE end //FAWE end