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

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