Merge pull request #453 from Techlone/fix-fusion-start
Fix boost of starting of fusion reactors Seems fine, will test it a bit later.
This commit is contained in:
commit
b9d9706727
1 changed files with 5 additions and 1 deletions
|
@ -367,7 +367,11 @@ public abstract class GT_MetaTileEntity_FusionComputer extends GT_MetaTileEntity
|
|||
turnCasingActive(mMaxProgresstime > 0);
|
||||
if (aBaseMetaTileEntity.isAllowedToWork()) {
|
||||
this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU();
|
||||
if (checkRecipe(mInventory[1]) && aBaseMetaTileEntity.getStoredEU() >= this.mLastRecipe.mSpecialValue) {
|
||||
if (checkRecipe(mInventory[1])) {
|
||||
if (this.mEUStore < this.mLastRecipe.mSpecialValue) {
|
||||
mMaxProgresstime = 0;
|
||||
turnCasingActive(false);
|
||||
}
|
||||
aBaseMetaTileEntity.decreaseStoredEnergyUnits(this.mLastRecipe.mSpecialValue, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue