mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-28 19:39:17 +00:00
optimize no action time
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package org.dreeam.leaf.config.modules.opt;
|
||||
|
||||
import org.dreeam.leaf.config.ConfigModules;
|
||||
import org.dreeam.leaf.config.EnumConfigCategory;
|
||||
import org.dreeam.leaf.config.annotations.Experimental;
|
||||
|
||||
public class OptimizeNoActionTime extends ConfigModules {
|
||||
public String getBasePath() {
|
||||
return EnumConfigCategory.PERF.getBaseKeyName() + ".optimize-no-action-time";
|
||||
}
|
||||
|
||||
@Experimental
|
||||
public static boolean disableLightCheck = false;
|
||||
|
||||
@Override
|
||||
public void onLoaded() {
|
||||
disableLightCheck = config.getBoolean(getBasePath() + ".disable-light-check", disableLightCheck);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user