Fusion fix
This commit is contained in:
parent
9edf005c3c
commit
68f5479199
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ public abstract class GT_MetaTileEntity_FusionComputer extends GT_MetaTileEntity
|
||||||
if (tFluidList.size() > 1) {
|
if (tFluidList.size() > 1) {
|
||||||
FluidStack[] tFluids = tFluidList.toArray(new FluidStack[tFluidList.size()]);
|
FluidStack[] tFluids = tFluidList.toArray(new FluidStack[tFluidList.size()]);
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sFusionRecipes.findRecipe(this.getBaseMetaTileEntity(), this.mLastRecipe, false, GT_Values.V[8], tFluids, new ItemStack[]{});
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sFusionRecipes.findRecipe(this.getBaseMetaTileEntity(), this.mLastRecipe, false, GT_Values.V[8], tFluids, new ItemStack[]{});
|
||||||
if (tRecipe == null && !mRunningOnLoad) {
|
if ((tRecipe == null && !mRunningOnLoad) || (maxEUStore() < tRecipe.mSpecialValue)) {
|
||||||
turnCasingActive(false);
|
turnCasingActive(false);
|
||||||
this.mLastRecipe = null;
|
this.mLastRecipe = null;
|
||||||
return false;
|
return false;
|
||||||
|
@ -372,7 +372,7 @@ public abstract class GT_MetaTileEntity_FusionComputer extends GT_MetaTileEntity
|
||||||
mMaxProgresstime = 0;
|
mMaxProgresstime = 0;
|
||||||
turnCasingActive(false);
|
turnCasingActive(false);
|
||||||
}
|
}
|
||||||
aBaseMetaTileEntity.decreaseStoredEnergyUnits(this.mLastRecipe.mSpecialValue, true);
|
aBaseMetaTileEntity.decreaseStoredEnergyUnits(this.mLastRecipe.mSpecialValue - this.mEUt, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mMaxProgresstime <= 0)
|
if (mMaxProgresstime <= 0)
|
||||||
|
|
Loading…
Reference in a new issue