Waterloggable fixes with the cell and cables
This commit is contained in:
parent
86fdbae7b2
commit
727bd418fa
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue