Skip to content

Commit 47847e7

Browse files
authored
fluid regulators now check that the correct amount of fluid was moved (#4693)
1 parent 9ad23f9 commit 47847e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/gregtechceu/gtceu/common/cover/FluidRegulatorCover.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private int transferExact(IFluidHandler source, IFluidHandler destination, int p
103103
continue;
104104

105105
int insertableAmount = destination.fill(drained.copy(), FluidAction.SIMULATE);
106-
if (insertableAmount <= 0)
106+
if (insertableAmount != supplyAmount)
107107
continue;
108108

109109
drained.setAmount(insertableAmount);

0 commit comments

Comments
 (0)