From 4d5b8d9b47f8b1a2ecdb2e3f6fcfad230988ad00 Mon Sep 17 00:00:00 2001 From: RealSilverMoon <31100241+RealSilverMoon@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:23:24 +0800 Subject: [PATCH] Fix Fluid export bus void liquids (#214) --- .../github/inventory/FluidConvertingInventoryAdaptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/inventory/FluidConvertingInventoryAdaptor.java b/src/main/java/com/glodblock/github/inventory/FluidConvertingInventoryAdaptor.java index 322858e81..32ad5da8b 100644 --- a/src/main/java/com/glodblock/github/inventory/FluidConvertingInventoryAdaptor.java +++ b/src/main/java/com/glodblock/github/inventory/FluidConvertingInventoryAdaptor.java @@ -18,6 +18,7 @@ import net.minecraftforge.fluids.IFluidHandler; import com.glodblock.github.common.Config; +import com.glodblock.github.common.item.ItemFluidDrop; import com.glodblock.github.common.item.ItemFluidPacket; import com.glodblock.github.common.parts.PartFluidExportBus; import com.glodblock.github.common.parts.PartFluidInterface; @@ -118,7 +119,7 @@ public ItemStack addItems(ItemStack toBeAdded, InsertionMode insertionMode) { if (fluid != null) { int filled = fillSideFluid(fluid, this.invFluids, this.side, true); fluid.amount -= filled; - return ItemFluidPacket.newStack(fluid); + return ItemFluidDrop.newStack(fluid); } else { ItemStack notFilled = fillSideItem(toBeAdded, this.invItems, insertionMode, true); if (notFilled != null) {