Skip to content

Commit 83da69f

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 54a6db6 commit 83da69f

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
@@ -163,7 +163,7 @@ public void filter(String searchTerm, boolean refresh, boolean reposition) {
163163
addedMods.clear();
164164
Collection<Mod> mods = ModMenu.MODS.values().stream().filter(mod -> {
165165
if (ModMenuConfig.CONFIG_MODE.getValue()) {
166-
return !parent.getModHasConfigScreen(mod.getId());
166+
return parent.getModHasConfigScreen(mod.getId());
167167
} else {
168168
return !mod.isHidden();
169169
}

0 commit comments

Comments
 (0)