forked from SteamWar/SteamWar
Hotfix: Fix 1.21 Schematic Writer (again?)
This commit is contained in:
@@ -82,6 +82,10 @@ public class WorldEditWrapper21 implements WorldEditWrapper {
|
|||||||
|
|
||||||
LinCompoundTag entry = LinRootEntry.readFrom(linStream).value();
|
LinCompoundTag entry = LinRootEntry.readFrom(linStream).value();
|
||||||
|
|
||||||
|
if (entry.value().size() == 1) {
|
||||||
|
entry = entry.getTag("Schematic", LinTagType.compoundTag());
|
||||||
|
}
|
||||||
|
|
||||||
bis.reset();
|
bis.reset();
|
||||||
|
|
||||||
switch (entry.getTag("Version", LinTagType.intTag()).valueAsInt()) {
|
switch (entry.getTag("Version", LinTagType.intTag()).valueAsInt()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user