Fix collision boxes.
This commit is contained in:
parent
b7a7cd0120
commit
ca1eb0b4ee
1 changed files with 4 additions and 1 deletions
|
@ -141,7 +141,10 @@ public class BlockEngine extends BlockBuildCraft {
|
|||
if (tile instanceof TileEngine){
|
||||
AxisAlignedBB[] aabbs = boxes[((TileEngine)tile).orientation.ordinal()];
|
||||
for (AxisAlignedBB aabb : aabbs) {
|
||||
list.add(aabb);
|
||||
aabb = aabb.getOffsetBoundingBox(x, y, z);
|
||||
if (mask.intersectsWith(aabb)){
|
||||
list.add(aabb);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
super.addCollisionBoxesToList(wrd, x, y, z, full, list, ent);
|
||||
|
|
Loading…
Add table
Reference in a new issue