Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Feb 22, 2025
1 parent 9e080b1 commit 392a99c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,7 @@ private void insertFluid(EntityPlayer player, int slotIndex, boolean shift) {
} else if (partialTanksStack != null) {
player.inventory.setInventorySlotContents(slotIndex, partialTanksStack);
} else {
player.inventory.setItemStack(null);
if (shift) {
player.inventory.setInventorySlotContents(slotIndex, null);
} else {
shouldSendStack = false;
}
player.inventory.setInventorySlotContents(slotIndex, null);
}
}
if (shouldSendStack) {
Expand Down

0 comments on commit 392a99c

Please sign in to comment.