fix fluid conversion in in IOUtil fixes #2772 (#2858)

This commit is contained in:
Darkere
2021-01-30 22:15:41 +01:00
committed by GitHub
parent 57f6c2b550
commit b0ed3bed4d

View File

@@ -172,7 +172,7 @@ public final class IoUtil {
FluidStack result = network.extractFluid(toExtract.getStack(), toExtract.getStack().getAmount(), Action.PERFORM);
if (!result.isEmpty()) {
internalStorage.insert(toExtract.getStack(), result.getAmount(), Action.PERFORM);
internalStorage.insert(result, result.getAmount(), Action.PERFORM);
toRemove.add(result);
}