From 627f140b2e35698f9a48256d5bf8adbc07786ab1 Mon Sep 17 00:00:00 2001 From: koiNoCirculation Date: Tue, 27 Feb 2024 13:43:20 -0800 Subject: [PATCH] revert the accidentally refactor in Plasma turbine --- .../multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java index f8f40625a..d65224f4d 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java @@ -182,7 +182,7 @@ protected boolean filtersFluid() { fuelValue = getFuelValue(new FluidStack(tFluids.get(0), 0)); } float magicValue = (fuelValue * 0.005f) * (fuelValue * 0.005f); - long efficiencyLoss = (long) Math.min(1.0f, magicValue / euPerTurbine); + float efficiencyLoss = Math.min(1.0f, magicValue / euPerTurbine); newPower *= efficiencyLoss; long difference = newPower - this.lEUt; // difference between current output and new output