Updated mods, readme and fixed 1 thing in the config gui

This commit is contained in:
coolGi2007
2022-03-17 17:52:19 +10:30
parent 35bef76aeb
commit 7a91b258de
4 changed files with 27 additions and 15 deletions
@@ -607,6 +607,7 @@ public abstract class ConfigGui
else if (info.screenButton)
{
Button widget = new Button(this.width / 2 - info.width, this.height - 28, info.width * 2, 20, name, (button -> {
saveToFile();
Objects.requireNonNull(minecraft).setScreen(ConfigGui.getScreen(this, info.gotoScreen));
}));
this.list.addButton(widget, null, null, null);