Fixed inject usage of Chemical Dissolution Chamber
This commit is contained in:
parent
c2f7735115
commit
6b765d27e7
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class TileEntityChemicalDissolutionChamber extends TileEntityNoisyElectri
|
||||||
|
|
||||||
DissolutionRecipe recipe = getRecipe();
|
DissolutionRecipe recipe = getRecipe();
|
||||||
|
|
||||||
injectUsageThisTick = StatUtils.inversePoisson(injectUsage);
|
injectUsageThisTick = Math.max(1, StatUtils.inversePoisson(injectUsage));
|
||||||
|
|
||||||
if(canOperate(recipe) && getEnergy() >= energyUsage && injectTank.getStored() >= injectUsageThisTick && MekanismUtils.canFunction(this))
|
if(canOperate(recipe) && getEnergy() >= energyUsage && injectTank.getStored() >= injectUsageThisTick && MekanismUtils.canFunction(this))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue