Skip to content

Commit

Permalink
Merge remote-tracking branch 'RealSilverMoon/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Jul 17, 2024
2 parents 57edd12 + a6c8232 commit a76c636
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a76c636

Please sign in to comment.