Stop running the LoadItem task on every inventory open (which also re-ran the search and caused lag on every inventory open).

Unclear if this breaks anything -- it works with simple testing.
This commit is contained in:
Jason Mitchell committed 2020-01-08 21:32:53 -08:00
1 parent 64ad0f826e
commit bc1aa9e97e
4 files changed
+11 -2

No files matched your search

+2
View File
@@ -182,6 +182,7 @@ public class ItemList
@Override
public void execute() {
// System.out.println("Executing NEI Item Loading");
ThreadOperationTimer timer = getTimer(500);
LinkedList<ItemStack> items = new LinkedList<>();
@@ -243,6 +244,7 @@ public class ItemList
{
@Override
public void execute() {
// System.out.println("Executing NEI Item Filtering");
ArrayList<ItemStack> filtered = new ArrayList<>();
ItemFilter filter = getItemListFilter();