Fixed bug introduced in previous commit (#2677)
* Fixes the bug mentioned in #2675 * Fixed bug introduced with previous commit
This commit is contained in:
parent
2c792a72ac
commit
d6dfe57963
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue