mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Fix #345 Pipette not depositing liquid
This commit is contained in:
1 parent
cfbde3eb83
commit
34c1956cc1
1 file changed
+1
-1
@@ -54,7 +54,7 @@ public class ContainerLiquidTanks extends ContainerForestry {
|
||||
|
||||
IToolPipette pipette = (IToolPipette) held;
|
||||
StandardTank tank = tile.getTankManager().get(slot);
|
||||
int liquidAmount = tank.getFluid().amount;
|
||||
int liquidAmount = tank.getFluidAmount();
|
||||
|
||||
if (pipette.canPipette(itemstack) && liquidAmount > 0) {
|
||||
if (liquidAmount > 0) {
|
||||
|
||||
Reference in new issue
Block a user