From 6b765d27e73c30f78e2402b5bbab07d6c8647e33 Mon Sep 17 00:00:00 2001 From: aidancbrady Date: Thu, 28 May 2015 16:48:58 -0400 Subject: [PATCH] Fixed inject usage of Chemical Dissolution Chamber --- .../common/tile/TileEntityChemicalDissolutionChamber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/tile/TileEntityChemicalDissolutionChamber.java b/src/main/java/mekanism/common/tile/TileEntityChemicalDissolutionChamber.java index 720fc4957..a2bd0b951 100644 --- a/src/main/java/mekanism/common/tile/TileEntityChemicalDissolutionChamber.java +++ b/src/main/java/mekanism/common/tile/TileEntityChemicalDissolutionChamber.java @@ -124,7 +124,7 @@ public class TileEntityChemicalDissolutionChamber extends TileEntityNoisyElectri 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)) {