mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-22 21:19:54 +00:00
Fix regression with super compacting frames and probably other mods
This commit is contained in:
1 parent
b1fcb1ab3e
commit
58a68898bb
2 files changed
+2
-2
No files matched your search
@@ -155,7 +155,7 @@ public class StorageInventory implements IDrawerInventory
|
||||
adapter.syncInventory();
|
||||
|
||||
ItemStack stack = adapter.getInventoryStack(SlotType.OUTPUT).copy();
|
||||
stack.stackSize = Math.min(stack.stackSize, drawer.getStoredItemCount());
|
||||
stack.stackSize = Math.min(stack.stackSize, count);
|
||||
adapter.getInventoryStack(SlotType.OUTPUT).stackSize -= stack.stackSize;
|
||||
|
||||
return stack;
|
||||
|
||||
Reference in new issue
Block a user