Fix Fusion reactor possibly taking damage.
This commit is contained in:
parent
a205cbccd0
commit
632d9fc754
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ public abstract class GT_MetaTileEntity_FusionComputer extends GT_MetaTileEntity
|
||||||
stopMachine();
|
stopMachine();
|
||||||
}
|
}
|
||||||
if (getRepairStatus() > 0) {
|
if (getRepairStatus() > 0) {
|
||||||
if (mMaxProgresstime > 0 && doRandomMaintenanceDamage()) {
|
if (mMaxProgresstime > 0) {
|
||||||
this.getBaseMetaTileEntity().decreaseStoredEnergyUnits(mEUt, true);
|
this.getBaseMetaTileEntity().decreaseStoredEnergyUnits(mEUt, true);
|
||||||
if (mMaxProgresstime > 0 && ++mProgresstime >= mMaxProgresstime) {
|
if (mMaxProgresstime > 0 && ++mProgresstime >= mMaxProgresstime) {
|
||||||
if (mOutputItems != null)
|
if (mOutputItems != null)
|
||||||
|
|
Loading…
Reference in a new issue