Fix squeezer consuming whole stacks of fluid containers at once

This commit is contained in:
mezz committed 2015-09-26 14:36:37 -07:00
1 parent 9478ffb7c1
commit 76b7ee6f50
1 file changed
+3 -1
@@ -53,7 +53,9 @@ public class SqueezerContainerRecipe implements ISqueezerContainerRecipe {
@Override
public ISqueezerRecipe getSqueezerRecipe(ItemStack filledContainer) {
FluidStack fluidOutput = FluidHelper.getFluidStackInContainer(filledContainer);
return new SqueezerRecipe(processingTime, new ItemStack[]{filledContainer}, fluidOutput, remnants, remnantsChance);
ItemStack filledContainerCopy = filledContainer.copy();
filledContainerCopy.stackSize = 1;
return new SqueezerRecipe(processingTime, new ItemStack[]{filledContainerCopy}, fluidOutput, remnants, remnantsChance);
}
}