Disable fast mode usage for snapshot restore.

This commit is contained in:
sk89q 2012-07-10 00:23:32 -07:00
parent 97380f28de
commit b6fd8af242

View File

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