d&d to search input; fix giveStack; change grid size

This commit is contained in:
Serghei Borovetchi authored and Jason Mitchell committed 2022-01-03 09:44:33 -08:00
1 parent 5dde7cad8b
commit 98c9f03e74
4 files changed
+31 -49

No files matched your search

@@ -157,7 +157,10 @@ public class NEIClientUtils extends NEIServerUtils
final List<Iterable<Integer>> handlerSlots;
try {
GuiInfo.readLock.lock();
handlerSlots = GuiInfo.guiHandlers.stream().map(handler -> handler.getItemSpawnSlots(gui, typestack)).collect(Collectors.toCollection(LinkedList::new));
handlerSlots = GuiInfo.guiHandlers.stream()
.map(handler -> handler.getItemSpawnSlots(gui, typestack))
.filter(x -> x != null)
.collect(Collectors.toCollection(LinkedList::new));
} finally {
GuiInfo.readLock.unlock();
}