Skip to content

Commit e78c4ff

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 4e43915 commit e78c4ff

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
@@ -137,7 +137,7 @@ private void filter(String searchTerm, boolean refresh, boolean search) {
137137
addedMods.clear();
138138
Collection<Mod> mods = ModMenu.MODS.values().stream().filter(mod -> {
139139
if (ModMenuConfig.CONFIG_MODE.getValue()) {
140-
return !parent.getModHasConfigScreen(mod.getId());
140+
return parent.getModHasConfigScreen(mod.getId());
141141
}
142142

143143
return !mod.isHidden();

0 commit comments

Comments
 (0)