From 4c84ddb22edf971b4698db2c45ed0d70da8b6e35 Mon Sep 17 00:00:00 2001 From: XiaoMoMi Date: Sun, 6 Apr 2025 20:11:39 +0800 Subject: [PATCH] Update RegionFile.java --- .../craftengine/core/world/chunk/storage/RegionFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/net/momirealms/craftengine/core/world/chunk/storage/RegionFile.java b/core/src/main/java/net/momirealms/craftengine/core/world/chunk/storage/RegionFile.java index 0c0330efb..b2e8ad51b 100644 --- a/core/src/main/java/net/momirealms/craftengine/core/world/chunk/storage/RegionFile.java +++ b/core/src/main/java/net/momirealms/craftengine/core/world/chunk/storage/RegionFile.java @@ -334,7 +334,7 @@ public class RegionFile implements AutoCloseable { // If the chunk file is too large, store it as an additional file if (sectorsToWrite >= EXTERNAL_CHUNK_THRESHOLD) { Path path = this.getExternalChunkPath(pos); - LOGGER.warn(String.format("Saving oversized chunk %s (%s bytes) to external file %s", pos, sizeToWrite, path)); + LOGGER.warn(String.format("Saving oversized chunk %s (%s bytes) to external file %s", pos.x() + "," + pos.z(), sizeToWrite, path)); sectorsToWrite = 1; sectorStartPosition = this.usedSectors.allocate(sectorsToWrite); regionFileOperation = this.writeToExternalFileSafely(path, buf);