Skip to content

Commit 9324465

Browse files
authored
Fix #907: Crash when moving fluids with components (#908)
1 parent 39d2650 commit 9324465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/aztech/modern_industrialization/thirdparty/fabrictransfer/impl/fluid/FluidVariantImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static FluidVariant of(FluidStack stack) {
6868
if (stack.isComponentsPatchEmpty() || stack.isEmpty()) {
6969
return of(stack.getFluid());
7070
} else {
71-
return of(stack);
71+
return new FluidVariantImpl(stack);
7272
}
7373
}
7474

0 commit comments

Comments
 (0)