Removed minimum cap on history size.

Dieser Commit ist enthalten in:
sk89q 2011-05-01 17:37:28 -07:00
Ursprung d71d4a8569
Commit 9557d5fbd4

Datei anzeigen

@ -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", "");