Fix array configs not saving in config GUI

This commit is contained in:
tterrag1098
2017-05-25 17:10:22 -04:00
parent f1f580ded1
commit 5c9ea2db15

View File

@@ -19,7 +19,8 @@ public class BlurConfigGui extends GuiConfig {
@Override @Override
public void initGui() { public void initGui() {
super.initGui(); if (this.entryList == null || this.needsRefresh)
{
this.entryList = new GuiConfigEntries(this, mc) { this.entryList = new GuiConfigEntries(this, mc) {
@SuppressWarnings({ "unused", "null" }) @SuppressWarnings({ "unused", "null" })
@Override @Override
@@ -29,6 +30,9 @@ public class BlurConfigGui extends GuiConfig {
} }
} }
}; };
this.needsRefresh = false;
}
super.initGui();
} }
@Override @Override