mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix FieldWrapper.MapWrapper initialising wrong category (#4335)
This commit is contained in:
1 parent
cb051f7893
commit
d85fcb26c2
2 files changed
+2
-1
No files matched your search
@@ -159,7 +159,7 @@ public abstract class FieldWrapper implements IFieldWrapper
|
||||
@Override
|
||||
public void setupConfiguration(Configuration cfg, String desc, String langKey, boolean reqMCRestart, boolean reqWorldRestart)
|
||||
{
|
||||
ConfigCategory confCat = cfg.getCategory(category);
|
||||
ConfigCategory confCat = cfg.getCategory(getCategory());
|
||||
confCat.setComment(desc);
|
||||
confCat.setLanguageKey(langKey);
|
||||
confCat.setRequiresMcRestart(reqMCRestart);
|
||||
|
||||
Reference in new issue
Block a user