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

+3
View File
@@ -518,12 +518,15 @@ public class SubsetWidget extends Button implements ItemFilterProvider, ItemsLoa
}
public synchronized void reallocate() {
// System.out.println("NEI Subset - Reallocate");
// Thread.dumpStack();
reallocate = true;
restart();
}
@Override
public void execute() {
// System.out.println("Executing NEI Subset Item Allocation");
HashMap<String, SubsetState> state = new HashMap<>();
List<SubsetTag> tags = new LinkedList<>();
synchronized (root) {