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
@@ -1955,7 +1955,7 @@ public class player_guild extends script.base_script
{
return SCRIPT_CONTINUE;
}
if (guildGetCountMembersOnly(guildId) < utils.stringToInt(getConfigSetting("GameServer", "gcwGuildMinMembersForGcwRegionDefender")))
if (guildGetCountMembersOnly(guildId) < utils.getIntConfigSetting("GameServer", "gcwGuildMinMembersForGcwRegionDefender", 10))
{
return SCRIPT_CONTINUE;
}