From ef686af8ddceb9c782763344bae7d70eb1e74e9c Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 4 Jan 2022 21:01:49 +0100 Subject: [PATCH] Update upstream fb5ec19 Fix error for snapshot restore missing chunk --- .../java/com/sk89q/worldedit/world/storage/McRegionReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionReader.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionReader.java index fee7a3d9e..193f03b06 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionReader.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionReader.java @@ -126,7 +126,7 @@ public class McRegionReader { // The chunk hasn't been generated if (offset == 0) { - throw new DataException("The chunk at " + x + "," + z + " is not generated"); + throw new DataException("The chunk at " + position + " is not generated"); } int sectorNumber = offset >> 8;