Water plants drop fix
This commit is contained in:
parent
616c824257
commit
8e5996524d
3 changed files with 1 additions and 2 deletions
|
@ -45,7 +45,6 @@ import ru.betterend.blocks.entities.PedestalBlockEntity;
|
|||
import ru.betterend.patterns.Patterns;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.rituals.InfusionRitual;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class PedestalBlock extends BlockBaseNotFull implements BlockEntityProvider {
|
||||
public final static EnumProperty<PedestalState> STATE = BlockProperties.PEDESTAL_STATE;
|
||||
|
|
|
@ -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