mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Removed minimum cap on history size.
This commit is contained in:
parent
d71d4a8569
commit
9557d5fbd4
@ -81,7 +81,7 @@ public void load() {
|
||||
|
||||
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", "");
|
||||
|
Loading…
Reference in New Issue
Block a user