Merge pull request #3056 from TropheusJ/stackable-fluids-fix

fix potential dupe glitch with stackable fluid containers
This commit is contained in:
simibubi 2022-05-22 16:56:49 +02:00 committed by GitHub
commit 7d083495b0
Failed to generate hash of commit

View file

@ -76,6 +76,7 @@ public class ItemDrainTileEntity extends SmartTileEntity implements IHaveGoggleI
return returned;
transportedStack = transportedStack.copy();
transportedStack.stack = inserted.copy();
transportedStack.beltPosition = side.getAxis()
.isVertical() ? .5f : 0;
transportedStack.prevSideOffset = transportedStack.sideOffset;