mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Write the correct default value for StringList comments in the config
This commit is contained in:
1 parent
ba69a1a6fd
commit
53294b843b
1 file changed
+1
-1
@@ -1596,7 +1596,7 @@ public class Configuration
|
||||
Property prop = this.get(category, name, defaultValue);
|
||||
prop.setLanguageKey(langKey);
|
||||
prop.setValidValues(validValues);
|
||||
prop.comment = comment + " [default: " + defaultValue + "]";
|
||||
prop.comment = comment + " [default: " + prop.getDefault() + "]";
|
||||
return prop.getStringList();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user