Fix null bounding box being returned

Its usage is not always checked for null, so it is safer to return a
full block.
This commit is contained in:
SquidDev 2017-05-01 15:20:45 +01:00
parent 34cb75dfc3
commit 9b5f4a877c
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ public final AxisAlignedBB getBoundingBox( IBlockState state, IBlockAccess world
TileGeneric generic = (TileGeneric)tile;
return generic.getBounds();
}
return NULL_AABB;
return FULL_BLOCK_AABB;
}
@Override
@ -237,7 +237,7 @@ public final AxisAlignedBB getCollisionBoundingBox( IBlockState state, World wor
return aabb;
}
}
return NULL_AABB;
return FULL_BLOCK_AABB;
}
@Override