Disable fast mode usage for snapshot restore.

Dieser Commit ist enthalten in:
sk89q 2012-07-10 00:23:32 -07:00
Ursprung 97380f28de
Commit b6fd8af242

Datei anzeigen

@ -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);
} }
} }
} }