Skip to content

Commit

Permalink
Fix #907: Crash when moving fluids with components (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swedz authored Oct 3, 2024
1 parent 39d2650 commit 9324465
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,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 9324465

Please sign in to comment.