From b6fd8af2427e7153c1144986906fcc05179737d0 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 10 Jul 2012 00:23:32 -0700 Subject: [PATCH] Disable fast mode usage for snapshot restore. --- .../java/com/sk89q/worldedit/snapshots/SnapshotRestore.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/snapshots/SnapshotRestore.java b/src/main/java/com/sk89q/worldedit/snapshots/SnapshotRestore.java index c66f23d1e..22da4be38 100644 --- a/src/main/java/com/sk89q/worldedit/snapshots/SnapshotRestore.java +++ b/src/main/java/com/sk89q/worldedit/snapshots/SnapshotRestore.java @@ -155,9 +155,6 @@ public class SnapshotRestore { for (Map.Entry> 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); } } }