mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix @Config.Comment not working on subcategory Objects. Closes #3593
This commit is contained in:
commit
9d71b667b6
2 files changed
+9
No files matched your search
@@ -249,6 +249,7 @@ public class ConfigManager
|
||||
else if (ftype.getSuperclass() == Object.class) //Only support classes that are one level below Object.
|
||||
{
|
||||
String sub = (category.isEmpty() ? "" : category + ".") + getName(f).toLowerCase(Locale.ENGLISH);
|
||||
cfg.getCategory(sub).setComment(comment);
|
||||
Object sinst = get(instance, f);
|
||||
for (Field sf : ftype.getDeclaredFields())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user