mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 04:06:43 -04:00
Fixes small creatures (e.g. chickens) taking damage standing on hologram projectors. Because the size was evil. Or something. I don't even. #lolwatminecraft
This commit is contained in:
parent
1743968924
commit
6f3f9cc260
@ -48,10 +48,10 @@ abstract class Hologram(val parent: SpecialDelegator) extends SpecialDelegate {
|
||||
}
|
||||
|
||||
override def bounds(world: IBlockAccess, x: Int, y: Int, z: Int) =
|
||||
AxisAlignedBB.getAABBPool.getAABB(0, 0, 0, 1, 7 / 16f, 1)
|
||||
AxisAlignedBB.getAABBPool.getAABB(0, 0, 0, 1, 0.5f, 1)
|
||||
|
||||
override def itemBounds() {
|
||||
parent.setBlockBounds(AxisAlignedBB.getAABBPool.getAABB(0, 0, 0, 1, 7 / 16f, 1))
|
||||
parent.setBlockBounds(AxisAlignedBB.getAABBPool.getAABB(0, 0, 0, 1, 0.5f, 1))
|
||||
}
|
||||
|
||||
override def registerIcons(iconRegister: IconRegister) = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user