Skip to content

Commit 2c746fd

Browse files
sisby-folkgniftygnome
authored andcommitted
fix config mode being worse than useless (#981)
showed only mods without config screens, instead of with - Fix inversion of config mod (thanks sisby-folk)
1 parent 39f0fcf commit 2c746fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private void filter(String searchTerm, boolean refresh, boolean search) {
136136
addedMods.clear();
137137
Collection<Mod> mods = ModMenu.MODS.values().stream().filter(mod -> {
138138
if (ModMenuConfig.CONFIG_MODE.getValue()) {
139-
return !parent.getModHasConfigScreen(mod.getId());
139+
return parent.getModHasConfigScreen(mod.getId());
140140
}
141141

142142
return !mod.isHidden();

0 commit comments

Comments
 (0)