Fixed a bug where the LCM could have a mMaxProgressTime of zero.

This commit is contained in:
Johannes Gäßler 2017-05-30 10:21:46 +02:00
parent e304e8f9de
commit 38bfbabd58

View file

@ -124,6 +124,7 @@ public class GT_MetaTileEntity_LargeChemicalReactor extends GT_MetaTileEntity_Mu
EUt *= 4;
maxProgresstime /= 4;
}
maxProgresstime = Math.max(maxProgresstime, 1);
this.mEUt = -EUt;
this.mMaxProgresstime = maxProgresstime;