From 9557d5fbd475a7dcda5331498a1fa0620b01f9cb Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 1 May 2011 17:37:28 -0700 Subject: [PATCH] Removed minimum cap on history size. --- .../java/com/sk89q/worldedit/bukkit/BukkitConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitConfiguration.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitConfiguration.java index 564a8e905..73d89c77b 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitConfiguration.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitConfiguration.java @@ -81,7 +81,7 @@ public class BukkitConfiguration extends LocalConfiguration { noOpPermissions = config.getBoolean("no-op-permissions", false); - LocalSession.MAX_HISTORY_SIZE = Math.max(15, config.getInt("history.size", 15)); + LocalSession.MAX_HISTORY_SIZE = Math.max(0, config.getInt("history.size", 0)); LocalSession.EXPIRATION_GRACE = config.getInt("history.expiration", 10) * 60 * 1000; String snapshotsDir = config.getString("snapshots.directory", "");