9
0
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:
hayanesuru
2025-07-04 03:08:16 +09:00
parent 38658070f5
commit 6bc70724a4
2 changed files with 42 additions and 0 deletions

View File

@@ -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);
}
}