Skip to content

Commit

Permalink
fix craft water amount
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGATREX4 committed Jul 31, 2024
1 parent b083d3c commit 0cb7b41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ private void handleRecipeRemainder(BrewingRecipe recipe) {

private void extractFluid(int amount) {
try (Transaction transaction = Transaction.openOuter()) {
this.fluidStorage.extract(FluidVariant.of(Fluids.WATER), amount, transaction);
this.fluidStorage.extract(FluidVariant.of(Fluids.WATER), FluidStack.convertMbToDroplets(amount), transaction);
transaction.commit();
}
}
Expand Down

0 comments on commit 0cb7b41

Please sign in to comment.