3.1 Config Refactor

This commit is contained in:
AconiteGodOfSWG
2021-03-28 16:44:33 -04:00
parent 694a499356
commit 355796dd48
148 changed files with 900 additions and 6277 deletions
@@ -79,12 +79,7 @@ public class load_test extends script.base_script
};
public static boolean loadClientSupportEnabled() throws InterruptedException
{
String value = getConfigSetting("GameServer", "loadClientSupportEnabled");
if (value != null && (value.equals("1") || value.equals("true") || value.equals("yes")))
{
return true;
}
return false;
return utils.checkConfigFlag("GameServer", "loadClientSupportEnabled");
}
public static void handleLoadClientSetup(obj_id clientCreature, String optionsString) throws InterruptedException
{