From 0cb7b41be72007c95229ff6c9032d178bbe6ba2f Mon Sep 17 00:00:00 2001 From: Eugene Date: Wed, 31 Jul 2024 22:55:36 +0300 Subject: [PATCH] fix craft water amount --- .../ukrainian_dlight/block/entity/BrewingKegBlockEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/megatrex4/ukrainian_dlight/block/entity/BrewingKegBlockEntity.java b/src/main/java/com/megatrex4/ukrainian_dlight/block/entity/BrewingKegBlockEntity.java index 3406c57..405add0 100644 --- a/src/main/java/com/megatrex4/ukrainian_dlight/block/entity/BrewingKegBlockEntity.java +++ b/src/main/java/com/megatrex4/ukrainian_dlight/block/entity/BrewingKegBlockEntity.java @@ -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(); } }