Fixed invalid config values defaulting to zero rather than default value

This commit is contained in:
Intelli 2023-07-17 16:42:02 -06:00
parent e81c84671c
commit 342fadd0f6
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ public class Config extends Language {
configured = configured.replaceAll("[^0-9]", "");
return configured.isEmpty() ? 0 : Integer.parseInt(configured);
return configured.isEmpty() ? dfl : Integer.parseInt(configured);
}
private String getString(final String key) {