9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00

async switch connection state

This commit is contained in:
hayanesuru
2025-05-09 16:56:37 +09:00
parent b63f850b91
commit cf6c916f24
3 changed files with 133 additions and 90 deletions

View File

@@ -9,12 +9,12 @@ public class AlternativeJoin extends ConfigModules {
return EnumConfigCategory.NETWORK.getBaseKeyName();
}
public static boolean AlternativeJoin = true;
public static boolean enabled = false;
@Override
public void onLoaded() {
AlternativeJoin = config.getBoolean(getBasePath() + ".alternative-join", AlternativeJoin, config.pickStringRegionBased(
"Use alternative login logic to skip synchronization.",
"使用替代登录逻辑以跳过同步。"));
enabled = config.getBoolean(getBasePath() + ".async-switch-state", enabled, config.pickStringRegionBased(
"Async switch connection state",
"..."));
}
}