From d6dfe579636b406374bf0b524bdc1680e3462f4e Mon Sep 17 00:00:00 2001 From: Ayutac Date: Thu, 23 Dec 2021 03:19:33 +0100 Subject: [PATCH] Fixed bug introduced in previous commit (#2677) * Fixes the bug mentioned in #2675 * Fixed bug introduced with previous commit --- src/main/java/techreborn/items/DynamicCellItem.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/techreborn/items/DynamicCellItem.java b/src/main/java/techreborn/items/DynamicCellItem.java index f27ec7030..4f2e9ac27 100644 --- a/src/main/java/techreborn/items/DynamicCellItem.java +++ b/src/main/java/techreborn/items/DynamicCellItem.java @@ -207,6 +207,8 @@ public class DynamicCellItem extends Item implements ItemFluidInfo { return TypedActionResult.success(resultStack, world.isClient()); } } else { + if (!(containedFluid instanceof FlowableFluid)) + return TypedActionResult.pass(stack); BlockState placeState = world.getBlockState(placePos); if (placeState.canBucketPlace(containedFluid)) { placeFluid(player, world, placePos, hitResult, stack);