Make engines output their energy on downstroke and upstroke

This commit is contained in:
mezz committed 2014-09-21 20:35:41 -07:00
1 parent 956e53dc66
commit e89e8b4f9d
1 file changed
+2 -2
@@ -147,7 +147,7 @@ public abstract class Engine extends TileBase implements IEnergyHandler {
progress += pistonSpeedServer;
if (progress > 0.5 && stagePiston == 1) {
if (progress > 0.25 && stagePiston == 1) {
stagePiston = 2;
if (BlockUtil.isRFTile(getOrientation().getOpposite(), tile)) {
@@ -159,7 +159,7 @@ public abstract class Engine extends TileBase implements IEnergyHandler {
}
}
} else if (progress >= 1) {
} else if (progress >= 0.5) {
progress = 0;
stagePiston = 0;
}