Fix "customX" aspects not being properly searchable

This commit is contained in:
glowredman committed 2023-03-05 15:09:56 +01:00
1 parent c805ab4240
commit 7460f2cfd3
1 file changed
+1 -1
@@ -381,7 +381,7 @@ public class GuiEssentiaCellTerminal extends GuiConstants_ECT implements IAspect
}
// Is the search term in this aspects tag or name?
if ((this.searchTerm == "") || (stack.getAspectName().contains(this.searchTerm))
if ((this.searchTerm == "") || (stack.getAspectName().toLowerCase().contains(this.searchTerm))
|| (stack.getAspectTag().contains(this.searchTerm))) {
this.matchingSearchStacks.add(stack);
}