Fixed release valves turning off

This commit is contained in:
Rseifert 2013-02-25 08:30:48 -05:00
parent ca66742d6b
commit b9c91738ba
4 changed files with 4 additions and 3 deletions

View file

@ -1 +1 @@
23 24

View file

@ -21,3 +21,4 @@ x Fluid-Mechanics_v0.2.7.20.jar Fluid-Mechanics_v0.2.7.20_api.zip
x Fluid-Mechanics_v0.2.7.21.jar hydraulic_v0.2.7.21_api.zip x Fluid-Mechanics_v0.2.7.21.jar hydraulic_v0.2.7.21_api.zip
@ Fluid-Mechanics_v0.2.7.22.jar hydraulic_v0.2.7.22_api.zip @ Fluid-Mechanics_v0.2.7.22.jar hydraulic_v0.2.7.22_api.zip
@ Fluid-Mechanics_v0.2.8.23.jar hydraulic_v0.2.8.23_api.zip @ Fluid-Mechanics_v0.2.8.23.jar hydraulic_v0.2.8.23_api.zip
* Fluid-Mechanics_v0.2.8.24.jar hydraulic_v0.2.8.24_api.zip

View file

@ -1 +1 @@
0.2.7 0.2.8

View file

@ -62,7 +62,7 @@ public class TileEntityReleaseValve extends TileEntityAdvanced implements IPsiCr
} }
} }
if (!this.worldObj.isRemote && this.ticks % 20 == 0) if (!this.worldObj.isRemote && !isPowered && this.ticks % 20 == 0)
{ {
validateNBuildList(); validateNBuildList();
// start the draining process // start the draining process