Fixed misbehaving collision boxes

This commit is contained in:
aidancbrady 2016-03-15 19:44:16 -04:00
parent ca7fc4aaf4
commit 6b73b4153c

View file

@ -1090,6 +1090,8 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
@Override
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z)
{
setBlockBoundsBasedOnState(world, x, y, z);
if(world.getTileEntity(x, y, z) instanceof TileEntityChargepad)
{
return null;