Skip to content

Commit

Permalink
Fix StackOverflowError when transferring fluids with NBT (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Jan 7, 2025
1 parent aa9b7e1 commit 11d7b7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static FluidVariant of(FluidStack stack) {
if (stack.isComponentsPatchEmpty() || stack.isEmpty()) {
return of(stack.getFluid());
} else {
return of(stack);
return new FluidVariantImpl(stack);
}
}

Expand Down

0 comments on commit 11d7b7c

Please sign in to comment.