Skip to content

Commit

Permalink
feat(Config):
Browse files Browse the repository at this point in the history
  • Loading branch information
shulng committed Jul 13, 2024
1 parent 9211ecd commit db39177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cc/baka9/catseedlogin/bukkit/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public static void load(){
MinLengthID = config.getInt("MinLengthID", resourceConfig.getInt("MinLengthID"));
BedrockLoginBypass = config.getBoolean("BedrockLoginBypass", resourceConfig.getBoolean("BedrockLoginBypass"));
LoginwiththesameIP = config.getBoolean("LoginwiththesameIP", resourceConfig.getBoolean("LoginwiththesameIP"));
IPTimeout = config.getInt("IPTimeout", resourceConfig.getInt("IPTimeout"));
MaxLengthID = config.getInt("MaxLengthID", resourceConfig.getInt("MaxLengthID"));
BeforeLoginNoDamage = config.getBoolean("BeforeLoginNoDamage", resourceConfig.getBoolean("BeforeLoginNoDamage"));
ReenterInterval = config.getLong("ReenterInterval", resourceConfig.getLong("ReenterInterval"));
Expand All @@ -121,6 +120,7 @@ public static void load(){
Settings.CommandWhiteList.clear();
Settings.CommandWhiteList.addAll(commandWhiteList.stream().map(Pattern::compile).collect(Collectors.toList()));
AutoKick = config.getInt("AutoKick", 120);
IPTimeout = config.getInt("IPTimeout", 120);
SpawnLocation = str2Location(config.getString("SpawnLocation"));
DeathStateQuitRecordLocation = config.getBoolean("DeathStateQuitRecordLocation", resourceConfig.getBoolean("DeathStateQuitRecordLocation"));
FloodgatePrefixProtect = config.getBoolean("FloodgatePrefixProtect", resourceConfig.getBoolean("FloodgatePrefixProtect"));
Expand Down

0 comments on commit db39177

Please sign in to comment.