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:
@ -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() : "";
|
||||
|
Reference in New Issue
Block a user