aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java6
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;