Skip to content

Commit da8a5f3

Browse files
authored
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 2940214 commit da8a5f3

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

0 commit comments

Comments
 (0)