Minor cleanup

This commit is contained in:
Anuken 2021-02-20 10:08:15 -05:00
parent 2df2a0971a
commit a3bf39d86b

View File

@ -479,9 +479,7 @@ public class Administration{
autosave("Whether the periodically save the map when playing.", false),
autosaveAmount("The maximum amount of autosaves. Older ones get replaced.", 10),
autosaveSpacing("Spacing between autosaves in seconds.", 60 * 5),
debug("Enable debug logging", false, () -> {
Log.level = debug() ? LogLevel.debug : LogLevel.info;
});
debug("Enable debug logging", false, () -> Log.level = debug() ? LogLevel.debug : LogLevel.info);
public static final Config[] all = values();