Skip to content

Commit

Permalink
Fixed stacks of more than one fluid cell. (#29, #30) (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciolizer authored Jan 19, 2025
1 parent eba71ca commit 8403446
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ public static ILabel from(@Nullable Object item) {
if (isGregTechLargeFluidContainer(itemStack)) {
FluidStack fluidStack = GTUtility.getFluidForFilledItem(itemStack, true);
if (fluidStack != null) {
fluidStack.amount = fluidStack.amount * itemStack.stackSize;
return new LFluidStack(fluidStack);
}
}
Expand Down

0 comments on commit 8403446

Please sign in to comment.