diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gregtech/common/covers/GT_Cover_Pump.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Pump.java b/src/main/java/gregtech/common/covers/GT_Cover_Pump.java index a31a18c821..f36f6ce215 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Pump.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Pump.java @@ -48,6 +48,8 @@ public class GT_Cover_Pump extends GT_CoverBehavior { if (aTileEntity instanceof IFluidHandler current) { final IFluidHandler toAccess = aTileEntity.getITankContainerAtSide(side); + if (toAccess == null) return aCoverVariable; + transferFluid(current, toAccess, side, aCoverVariable % 2); } return aCoverVariable; |