Fixed a crash with quicksand
This commit is contained in:
parent
f34543fe99
commit
ae8b26f082
1 changed files with 1 additions and 2 deletions
|
@ -99,9 +99,8 @@ public class BlockBOPSand extends BlockFalling implements IBOPBlock, ISustainsPl
|
||||||
return this.getMetaFromState(state);
|
return this.getMetaFromState(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
//This seems to actually be for collision
|
|
||||||
@Override
|
@Override
|
||||||
public AxisAlignedBB getSelectedBoundingBox(IBlockState state, World world, BlockPos pos)
|
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, World world, BlockPos pos)
|
||||||
{
|
{
|
||||||
switch ((SandType) state.getValue(VARIANT))
|
switch ((SandType) state.getValue(VARIANT))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue