Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
fix neutron activators getting to 0 ticks (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueWeabo authored Jul 31, 2023
1 parent aeb31bd commit 5c4a3ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Add your dependencies here

dependencies {
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.158:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.160:dev')
api('com.github.GTNewHorizons:bartworks:0.7.35:dev')
implementation('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
implementation('com.github.GTNewHorizons:GTplusplus:1.9.67:dev')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected ProcessingLogic createProcessingLogic() {
@Override
protected GT_OverclockCalculator createOverclockCalculator(@NotNull GT_Recipe recipe) {
return GT_OverclockCalculator.ofNoOverclock(recipe)
.setDuration((int) (recipe.mDuration * Math.pow(0.9f, height - 4)))
.setDuration((int) Math.ceil(recipe.mDuration * Math.pow(0.9f, height - 4)))
.setDurationUnderOneTickSupplier(() -> recipe.mDuration * Math.pow(0.9f, height - 4));
}

Expand Down

0 comments on commit 5c4a3ce

Please sign in to comment.