mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Fix error for snapshot restore missing chunk
This commit is contained in:
parent
3fa364b448
commit
fb5ec19942
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user