Disable Config Button when no mods are selected (#5905)

Closes #5889
This commit is contained in:
DaemonUmbra 2019-07-08 18:56:50 -04:00 committed by LexManos
parent 66a2d38ab8
commit f720140481

View file

@ -400,6 +400,7 @@ public class GuiModList extends Screen
{
if (selected == null) {
modInfo.clear();
this.configButton.active = false;
return;
}
ModInfo selectedMod = selected.getInfo();