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:
@@ -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",
|
||||
"..."));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user