From 53294b843b4ba9dde2725d60d7dae9a48b81811f Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Fri, 15 Aug 2014 15:57:44 +0200 Subject: [PATCH] Write the correct default value for StringList comments in the config --- .../java/net/minecraftforge/common/config/Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/common/config/Configuration.java b/src/main/java/net/minecraftforge/common/config/Configuration.java index 7e4011b96..6e031385b 100644 --- a/src/main/java/net/minecraftforge/common/config/Configuration.java +++ b/src/main/java/net/minecraftforge/common/config/Configuration.java @@ -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(); }