Skip to content

Commit

Permalink
Fix the quarry not respecting quarryMaxBlockMineRate being in seconds…
Browse files Browse the repository at this point in the history
…, not ticks.
  • Loading branch information
AlexIIL committed Oct 3, 2020
1 parent efd862a commit 8e92d33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/buildcraft/builders/tile/TileQuarry.java
Original file line number Diff line number Diff line change
@@ -1002,6 +1002,7 @@ public long getRequiredPowerThisTick() {
if (rate < 0.1) {
return req;
}
rate /= 20; // seconds -> ticks
rate -= blockPercentSoFar;
if (rate <= 0) {
return 0;

0 comments on commit 8e92d33

Please sign in to comment.