Fix error for snapshot restore missing chunk

This commit is contained in:
Octavia Togami 2022-01-02 15:52:23 -08:00
parent 3fa364b448
commit fb5ec19942
No known key found for this signature in database
GPG Key ID: CC364524D1983C99

View File

@ -126,7 +126,7 @@ public synchronized InputStream getChunkInputStream(BlockVector2 position) throw
// 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;