fix potential dupe glitch with stackable fluid containers

happens on fabric in https://github.com/Fabricators-of-Create/Create/issues/296
This commit is contained in:
TropheusJ 2022-05-20 16:58:56 -04:00
parent d8dd101fdf
commit 06dc9d17f9

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;