Fix FieldWrapper.MapWrapper initialising wrong category (#4335)

This commit is contained in:
Choonster TheMage authored and mezz committed 2017-08-30 20:57:17 -07:00
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);