Bulb vine fix
This commit is contained in:
parent
28a786f210
commit
d4fb1d5952
1 changed files with 1 additions and 1 deletions
|
@ -42,6 +42,6 @@ public class BlockBulbVine extends BlockVine {
|
||||||
@Override
|
@Override
|
||||||
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
|
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
|
||||||
boolean canPlace = super.canPlaceAt(state, world, pos);
|
boolean canPlace = super.canPlaceAt(state, world, pos);
|
||||||
return state.get(SHAPE) == TripleShape.BOTTOM ? canPlace : canPlace && world.getBlockState(pos.down()).isOf(this);
|
return (state.isOf(this) && state.get(SHAPE) == TripleShape.BOTTOM) ? canPlace : canPlace && world.getBlockState(pos.down()).isOf(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue