Allow mods actually to have their own usable config gui (#6208)

This commit is contained in:
JoJoModding authored and LexManos committed 2019-10-15 14:56:27 -07:00
1 parent 25a9e477cb
commit 8adc546d92
2 files changed
+5 -2

No files matched your search

@@ -405,8 +405,7 @@ public class GuiModList extends Screen
return;
}
ModInfo selectedMod = selected.getInfo();
this.configButton.active = selectedMod.hasConfigUI();
this.configButton.active = ConfigGuiHandler.getGuiFactoryFor(selectedMod).isPresent();
List<String> lines = new ArrayList<>();
VersionChecker.CheckResult vercheck = VersionChecker.getResult(selectedMod);