Skip to content

Commit 97ee551

Browse files
committed
The maximum stacking of automatic outputs now depends on the maximum stacking of slots in external containers.
1 parent 8bb56f8 commit 97ee551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hellfirepvp/modularmachinery/common/tiles/TileItemOutputBus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private void outputToExternal(IItemHandler external) {
7474

7575
for (int externalSlotId = 0; externalSlotId < external.getSlots(); externalSlotId++) {
7676
ItemStack externalStack = external.getStackInSlot(externalSlotId);
77-
if (externalStack != ItemStack.EMPTY && externalStack.getCount() >= externalStack.getMaxStackSize()) {
77+
if (externalStack != ItemStack.EMPTY && externalStack.getCount() >= external.getSlotLimit(externalSlotId)) {
7878
continue;
7979
}
8080

0 commit comments

Comments
 (0)