* fix being unable to set filter in grid output slots fixes #2779 #2742 * cache filled disks fixes #2771 * Revert "cache filled disks fixes #2771" This reverts commit 7d3910c7
This commit is contained in:
@@ -63,7 +63,8 @@ public class SetFilterSlotMessage {
|
||||
// Prevent the grid crafting matrix inventory listener from resetting the list.
|
||||
if (container instanceof GridContainer) {
|
||||
IGrid grid = ((GridContainer) container).getGrid();
|
||||
if (grid instanceof GridNetworkNode) {
|
||||
//exclude output slots
|
||||
if (grid instanceof GridNetworkNode && slot.getSlotIndex() < ((GridNetworkNode) grid).getAllowedTagList().getAllowedItemTags().size()) {
|
||||
Set<ResourceLocation> list = new HashSet<>(((GridNetworkNode) grid).getAllowedTagList().getAllowedItemTags().get(slot.getSlotIndex()));
|
||||
|
||||
postAction = () -> {
|
||||
|
||||
Reference in New Issue
Block a user