mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Fix squeezer consuming whole stacks of fluid containers at once
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user