mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-12 23:43:33 +00:00
Disable fast mode usage for snapshot restore.
This commit is contained in:
parent
97380f28de
commit
b6fd8af242
@ -155,9 +155,6 @@ public class SnapshotRestore {
|
||||
for (Map.Entry<BlockVector2D, ArrayList<Vector>> entry : neededChunks.entrySet()) {
|
||||
BlockVector2D chunkPos = entry.getKey();
|
||||
Chunk chunk;
|
||||
|
||||
boolean hasFastMode = editSession.hasFastMode();
|
||||
editSession.setFastMode(true);
|
||||
|
||||
try {
|
||||
chunk = chunkStore.getChunk(chunkPos, editSession.getWorld());
|
||||
@ -179,8 +176,6 @@ public class SnapshotRestore {
|
||||
} catch (IOException ioe) {
|
||||
errorChunks.add(chunkPos);
|
||||
lastErrorMessage = ioe.getMessage();
|
||||
} finally {
|
||||
editSession.setFastMode(hasFastMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user