From 73f7c1ffac5ad662dd0ec1cfabd3a6c7e3b03d21 Mon Sep 17 00:00:00 2001 From: 90 Date: Sun, 10 Sep 2023 17:41:56 +0100 Subject: [PATCH] Return priority to bulk cell --- .../gripe/_90/megacells/item/cell/BulkCellInventory.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/src/main/java/gripe/_90/megacells/item/cell/BulkCellInventory.java b/common/src/main/java/gripe/_90/megacells/item/cell/BulkCellInventory.java index 05bb3b54..2d457ce0 100644 --- a/common/src/main/java/gripe/_90/megacells/item/cell/BulkCellInventory.java +++ b/common/src/main/java/gripe/_90/megacells/item/cell/BulkCellInventory.java @@ -227,6 +227,12 @@ public void getAvailableStacks(KeyCounter out) { } } + @Override + public boolean isPreferredStorageFor(AEKey what, IActionSource source) { + return what instanceof AEItemKey item + && (item.equals(storedItem) || item.equals(filterItem) || compressionChain.containsVariant(item)); + } + @Override public Component getDescription() { return stack.getHoverName();