Hotfix: Fix 1.21 Schematic Writer (again?)

This commit is contained in:
2024-12-01 23:44:08 +01:00
parent 0153910402
commit 990a59ae72
@@ -82,6 +82,10 @@ public class WorldEditWrapper21 implements WorldEditWrapper {
LinCompoundTag entry = LinRootEntry.readFrom(linStream).value();
if (entry.value().size() == 1) {
entry = entry.getTag("Schematic", LinTagType.compoundTag());
}
bis.reset();
switch (entry.getTag("Version", LinTagType.intTag()).valueAsInt()) {