Merge pull request #143 from pyure/patch-2
Turbines don't shut down automatically
This commit is contained in:
commit
87a74a3344
1 changed files with 10 additions and 9 deletions
|
@ -154,13 +154,14 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
|||
else
|
||||
this.mEUt = newPower;
|
||||
|
||||
this.mMaxProgresstime = 1;
|
||||
this.mEfficiencyIncrease = (10);
|
||||
if (mEUt <= 0) {
|
||||
mEfficiency = 0;
|
||||
stopMachine();
|
||||
|
||||
this.mEfficiencyIncrease = (-10);
|
||||
//stopMachine();
|
||||
return false;
|
||||
} else {
|
||||
this.mMaxProgresstime = 1;
|
||||
this.mEfficiencyIncrease = (10);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue