Fix boost of starting of fusion reactors
This commit is contained in:
parent
792cca0af6
commit
fa3e5c0a44
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