diff options
author | Jakub Szewczyk <git@kubasz.xyz> | 2022-04-30 12:50:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 13:50:43 +0200 |
commit | 756b483819a406bcfd5774c17863498e4508c618 (patch) | |
tree | abc8ff9346ed727ece522c3840ebcebc3d816812 /src/main/java/com | |
parent | 955b0095de3952052aacb794ee76fb6bb937d05f (diff) | |
download | GT5-Unofficial-756b483819a406bcfd5774c17863498e4508c618.tar.gz GT5-Unofficial-756b483819a406bcfd5774c17863498e4508c618.tar.bz2 GT5-Unofficial-756b483819a406bcfd5774c17863498e4508c618.zip |
Remove check for a non-air block under the stirling pump (#125)
As discussed on discord, this is an undocumented and a bit silly requirement.
Former-commit-id: 47ebd702ebe2a995de6b4520f86e5c0f09bf5751
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java index 07dc78f6e1..d96c3496d4 100644 --- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java +++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java @@ -84,7 +84,7 @@ public class BW_TileEntity_HeatedWaterPump extends TileEntity implements ITileDr private boolean checkPreUpdate() { - return this.worldObj.isRemote || ((this.fuelstack == null || this.fuelstack.stackSize <= 0) && this.fuel <= 0) || (this.tick == 0 && this.worldObj.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == Blocks.air); + return this.worldObj.isRemote || ((this.fuelstack == null || this.fuelstack.stackSize <= 0) && this.fuel <= 0); } private void fixUnderlflow() { |