diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2022-12-19 18:50:29 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2022-12-20 22:24:48 +0800 |
commit | d422ae2f5032aaca01d45d44e5c1644996c9a09d (patch) | |
tree | 19ed686d350fa52ba7a59f425f3a190a299a58de /src/main/java | |
parent | 6ca4c1ce4b0ecaefac92bee0599f3075f51b0329 (diff) | |
download | GT5-Unofficial-d422ae2f5032aaca01d45d44e5c1644996c9a09d.tar.gz GT5-Unofficial-d422ae2f5032aaca01d45d44e5c1644996c9a09d.tar.bz2 GT5-Unofficial-d422ae2f5032aaca01d45d44e5c1644996c9a09d.zip |
fix laser OC being 1 tick shortcuts
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/glease/ggfab/mte/MTE_AdvAssLine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/glease/ggfab/mte/MTE_AdvAssLine.java b/src/main/java/net/glease/ggfab/mte/MTE_AdvAssLine.java index 58aacf178c..576e2e0fdb 100644 --- a/src/main/java/net/glease/ggfab/mte/MTE_AdvAssLine.java +++ b/src/main/java/net/glease/ggfab/mte/MTE_AdvAssLine.java @@ -581,10 +581,10 @@ public class MTE_AdvAssLine extends GT_MetaTileEntity_ExtendedPowerMultiBlockBas if (recipe != null) { setCurrentRecipe(stack, recipe); // first overclock normally - calculateOverclockedNessMulti(currentRecipe.mEUt, Math.max(recipe.mDuration / recipe.mInputs.length, 1), 1, inputVoltage); + calculateOverclockedNessMulti((long) currentRecipe.mEUt, Math.max(recipe.mDuration / recipe.mInputs.length, 1), 1, inputVoltage); // then laser overclock if needed if (!mExoticEnergyHatches.isEmpty()) { - OverclockHelper.OverclockOutput laserOverclock = OverclockHelper.laserOverclock(mEUt, mMaxProgresstime, inputEUt / recipe.mInputs.length, 0.3f); + OverclockHelper.OverclockOutput laserOverclock = OverclockHelper.laserOverclock(lEUt, mMaxProgresstime, inputEUt / recipe.mInputs.length, 0.3f); if (laserOverclock == null) { if (GT_Values.D1) { GT_FML_LOGGER.info("Recipe too OP"); |