From 222b1d640fb66dff8a865307c3ecf27db34f17ae Mon Sep 17 00:00:00 2001 From: Glease <4586901+Glease@users.noreply.github.com> Date: Sun, 16 Jan 2022 21:31:35 +0800 Subject: Extend PSS fake maxProgresstime to trick the system --- .../storage/GregtechMetaTileEntity_PowerSubStationController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java index d7512ca3b3..07dbe3ea5e 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java @@ -519,8 +519,8 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe @Override public boolean checkRecipe(final ItemStack aStack) { - this.mProgresstime = 1; - this.mMaxProgresstime = 1; + this.mProgresstime = 0; + this.mMaxProgresstime = 200; this.mEUt = 0; this.mEfficiencyIncrease = 10000; this.fixAllMaintenanceIssue(); @@ -625,6 +625,8 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe for (GT_MetaTileEntity_Hatch tHatch : this.mAllDynamoHatches) { aOutputAverage += addEnergyToHatch(tHatch); } + // reset progress time + mProgresstime = 0; this.mAverageEuAdded = aInputAverage; this.mAverageEuConsumed = aOutputAverage; -- cgit