Fixed a crash with quicksand

This commit is contained in:
Adubbz 2016-03-19 13:11:46 +11:00
parent f34543fe99
commit ae8b26f082

View file

@ -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))
{ {