mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Make engines output their energy on downstroke and upstroke
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user