Fixed AdvMiner II running without drilling fluid

This commit is contained in:
Blood-Asp 2015-12-21 16:39:11 +01:00
parent 30749ffeba
commit 2baf34b03a

View file

@ -88,7 +88,7 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
if (tFluid == null) { if (tFluid == null) {
return false; return false;
} }
if (tFluid.amount < 20) { if (tFluid.amount < 100) {
return false; return false;
} }
tFluid.amount = 100; tFluid.amount = 100;
@ -147,7 +147,7 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000); this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
this.mEfficiencyIncrease = 10000; this.mEfficiencyIncrease = 10000;
int tEU = 48; int tEU = 48;
int tDuration = 40; int tDuration = 24;
if (tEU <= 16) { if (tEU <= 16) {
this.mEUt = (tEU * (1 << tTier - 1) * (1 << tTier - 1)); this.mEUt = (tEU * (1 << tTier - 1) * (1 << tTier - 1));
this.mMaxProgresstime = (tDuration / (1 << tTier - 1)); this.mMaxProgresstime = (tDuration / (1 << tTier - 1));