Skip to content

Commit 8e35a22

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 mode (thanks sisby-folk)
1 parent 7bae32f commit 8e35a22

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
@@ -145,7 +145,7 @@ private void filter(String searchTerm, boolean refresh, boolean search) {
145145
addedMods.clear();
146146
Collection<Mod> mods = ModMenu.MODS.values().stream().filter(mod -> {
147147
if (ModMenuConfig.CONFIG_MODE.getValue()) {
148-
return !parent.getModHasConfigScreen(mod.getId());
148+
return parent.getModHasConfigScreen(mod.getId());
149149
} else {
150150
return !mod.isHidden();
151151
}

0 commit comments

Comments
 (0)