Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 19:10:07 +01:00
Disable fast mode usage for snapshot restore.
Dieser Commit ist enthalten in:
Ursprung
97380f28de
Commit
b6fd8af242
@ -156,9 +156,6 @@ public class SnapshotRestore {
|
|||||||
BlockVector2D chunkPos = entry.getKey();
|
BlockVector2D chunkPos = entry.getKey();
|
||||||
Chunk chunk;
|
Chunk chunk;
|
||||||
|
|
||||||
boolean hasFastMode = editSession.hasFastMode();
|
|
||||||
editSession.setFastMode(true);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
chunk = chunkStore.getChunk(chunkPos, editSession.getWorld());
|
chunk = chunkStore.getChunk(chunkPos, editSession.getWorld());
|
||||||
// Good, the chunk could be at least loaded
|
// Good, the chunk could be at least loaded
|
||||||
@ -179,8 +176,6 @@ public class SnapshotRestore {
|
|||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
errorChunks.add(chunkPos);
|
errorChunks.add(chunkPos);
|
||||||
lastErrorMessage = ioe.getMessage();
|
lastErrorMessage = ioe.getMessage();
|
||||||
} finally {
|
|
||||||
editSession.setFastMode(hasFastMode);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren