Fixes a few bugs regarding the new sign color system

Fixes missing STRING_LIST in loadConfig switch
Fixes missing color valid check in loadGateConfig
Fixes typing of PER_SIGN_COLORS
This commit is contained in:
2022-01-26 02:06:42 +01:00
parent 2bb0e8670d
commit 842fd9c452
3 changed files with 10 additions and 8 deletions

View File

@ -351,6 +351,7 @@ public final class StargateConfig {
//Load the option using its correct data type
switch (option.getDataType()) {
case STRING_LIST -> optionValue = newConfig.getStringList(configNode);
case STRING -> {
String value = newConfig.getString(configNode);
optionValue = value != null ? value.trim() : "";