From b836a80c778469fd23a0d21c6710e2bb687f7727 Mon Sep 17 00:00:00 2001 From: ishland Date: Thu, 14 Sep 2023 12:39:11 +0800 Subject: [PATCH] build: 1.20.2-pre4 --- .../c2me/rewrites/chunkio/common/C2MEStorageThread.java | 4 ++-- gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c2me-rewrites-chunkio/src/main/java/com/ishland/c2me/rewrites/chunkio/common/C2MEStorageThread.java b/c2me-rewrites-chunkio/src/main/java/com/ishland/c2me/rewrites/chunkio/common/C2MEStorageThread.java index 83a467e9c..1b07ee155 100644 --- a/c2me-rewrites-chunkio/src/main/java/com/ishland/c2me/rewrites/chunkio/common/C2MEStorageThread.java +++ b/c2me-rewrites-chunkio/src/main/java/com/ishland/c2me/rewrites/chunkio/common/C2MEStorageThread.java @@ -217,7 +217,7 @@ private boolean handlePendingReads() { try { final DataInputStream input = new DataInputStream(new ByteArrayInputStream(cached.right().get())); if (scanner != null) { - NbtIo.scan(input, scanner, NbtTagSizeTracker.method_53898()); + NbtIo.scan(input, scanner, NbtTagSizeTracker.ofUnlimitedBytes()); return null; } else { final NbtCompound compound = NbtIo.readCompound(input); @@ -283,7 +283,7 @@ private void scheduleChunkRead(long pos, CompletableFuture future, try { try (DataInputStream inputStream = chunkInputStream) { if (scanner != null) { - NbtIo.scan(inputStream, scanner, NbtTagSizeTracker.method_53898()); + NbtIo.scan(inputStream, scanner, NbtTagSizeTracker.ofUnlimitedBytes()); return null; } else { return NbtIo.readCompound(inputStream); diff --git a/gradle.properties b/gradle.properties index 1cdb4559b..0d6e5b4b7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,8 +4,8 @@ org.gradle.parallel=true fabric.loom.multiProjectOptimisation=true # Fabric Properties # check these on https://fabricmc.net/versions.html -minecraft_version=1.20.2-pre3 -yarn_mappings=1.20.2-pre3+build.2 +minecraft_version=1.20.2-pre4 +yarn_mappings=1.20.2-pre4+build.1 loader_version=0.14.22 # Mod Properties mod_version=0.2.0+alpha.10