Removing retardness...
This commit is contained in:
parent
389267d733
commit
2edb3528ce
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ public class GT_Block_Machines
|
||||||
public void setBlockBoundsBasedOnState(IBlockAccess blockAccess, int aX, int aY, int aZ) {
|
public void setBlockBoundsBasedOnState(IBlockAccess blockAccess, int aX, int aY, int aZ) {
|
||||||
TileEntity tTileEntity = blockAccess.getTileEntity(aX,aY,aZ);
|
TileEntity tTileEntity = blockAccess.getTileEntity(aX,aY,aZ);
|
||||||
if (((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getMetaTileEntity() != null)) {
|
if (((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getMetaTileEntity() != null)) {
|
||||||
AxisAlignedBB bbb=((IGregTechTileEntity)tTileEntity).getCollisionBoundingBoxFromPool(((IGregTechTileEntity)tTileEntity).getWorld(), aX, aY, aZ).getOffsetBoundingBox(-aX, -aY, -aZ);
|
AxisAlignedBB bbb=((IGregTechTileEntity)tTileEntity).getCollisionBoundingBoxFromPool(((IGregTechTileEntity)tTileEntity).getWorld(), 0, 0, 0);
|
||||||
setBlockBounds((float)bbb.minX,(float)bbb.minY,(float)bbb.minZ,(float)bbb.maxX,(float)bbb.maxY,(float)bbb.maxZ);
|
setBlockBounds((float)bbb.minX,(float)bbb.minY,(float)bbb.minZ,(float)bbb.maxX,(float)bbb.maxY,(float)bbb.maxZ);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue