Waterloggable fixes with the cell and cables

This commit is contained in:
modmuss50 2019-12-16 19:03:58 +00:00
parent 86fdbae7b2
commit 727bd418fa
2 changed files with 2 additions and 3 deletions

View file

@ -155,9 +155,7 @@ public class ItemDynamicCell extends Item implements ItemFluidInfo {
if(drainFluid != Fluids.EMPTY){
stack.decrement(1);
insertOrDropStack(player, getCellWithFluid(drainFluid, 1));
world.setBlockState(hitPos, Blocks.AIR.getDefaultState());
playEmptyingSound(player, world, hitPos, drainFluid);
return TypedActionResult.pass(stack);
}
}