mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-21 12:42:10 +00:00
Improved searching API to have primary and secondary filters
This commit is contained in:
1 parent
35841ebe9b
commit
a1879a9654
3 files changed
+42
-13
No files matched your search
@@ -701,6 +701,11 @@ public class SubsetWidget extends Button implements ItemFilterProvider, ItemsLoa
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPrimary() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemFilter getFilter(String searchText) {
|
||||
if(!searchText.startsWith("@"))
|
||||
|
||||
Reference in new issue
Block a user