Fix category comments not working. Closes #3593

This commit is contained in:
Vincent Lee committed 2017-01-13 22:20:43 -06:00
1 parent d53397111b
commit 71efbf8132
2 files changed
+10

No files matched your search

@@ -239,6 +239,8 @@ public class ConfigManager
else if (ftype.getSuperclass() == Object.class) //Only support classes that are one level below Object.
{
String sub = category + "." + f.getName().toLowerCase(Locale.ENGLISH);
cfg.getCategory(sub).setComment(comment);
Object sinst = get(instance, f);
for (Field sf : ftype.getDeclaredFields())
{