diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2022-01-16 21:31:35 +0800 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2022-01-16 16:04:03 +0000 |
commit | 222b1d640fb66dff8a865307c3ecf27db34f17ae (patch) | |
tree | 0a5a5dadd087a0622614a3920d5f8af0b86d8c64 /src/main/java/gtPlusPlus | |
parent | f6f3c04a678701d501b039d5384327c3fafcbaeb (diff) | |
download | GT5-Unofficial-222b1d640fb66dff8a865307c3ecf27db34f17ae.tar.gz GT5-Unofficial-222b1d640fb66dff8a865307c3ecf27db34f17ae.tar.bz2 GT5-Unofficial-222b1d640fb66dff8a865307c3ecf27db34f17ae.zip |
Extend PSS fake maxProgresstime to trick the system
Diffstat (limited to 'src/main/java/gtPlusPlus')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java | 6 |
1 files changed, 4 insertions, 2 deletions
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; |