diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/Modules.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/Modules.java index 7f4ab2678f..37ec252a92 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/Modules.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/Modules.java @@ -172,8 +172,6 @@ public Set searchTitles(String text) { Map modules = new ValueComparableMap<>(Comparator.naturalOrder()); for (Module module : this.moduleInstances.values()) { - if (Config.get().hiddenModules.get().contains(module)) continue; - int score = Utils.searchLevenshteinDefault(module.title, text, false); if (Config.get().moduleAliases.get()) { for (String alias : module.aliases) { @@ -181,7 +179,6 @@ public Set searchTitles(String text) { if (aliasScore < score) score = aliasScore; } } - modules.put(module, modules.getOrDefault(module, 0) + score); } @@ -192,8 +189,6 @@ public Set searchSettingTitles(String text) { Map modules = new ValueComparableMap<>(Comparator.naturalOrder()); for (Module module : this.moduleInstances.values()) { - if (Config.get().hiddenModules.get().contains(module)) continue; - int lowest = Integer.MAX_VALUE; for (SettingGroup sg : module.settings) { for (Setting setting : sg) { @@ -201,7 +196,6 @@ public Set searchSettingTitles(String text) { if (score < lowest) lowest = score; } } - modules.put(module, modules.getOrDefault(module, 0) + lowest); }