Water plants drop fix
This commit is contained in:
parent
616c824257
commit
8e5996524d
3 changed files with 1 additions and 2 deletions
|
@ -88,6 +88,7 @@ public class UnderwaterPlantBlock extends BlockBaseNotFull implements IRenderTyp
|
|||
@Override
|
||||
public BlockState getStateForNeighborUpdate(BlockState state, Direction facing, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) {
|
||||
if (!canPlaceAt(state, world, pos)) {
|
||||
world.breakBlock(pos, true);
|
||||
return Blocks.WATER.getDefaultState();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue