Fix horribly broken invpanel block bounds

This commit is contained in:
tterrag1098 committed 2015-05-21 14:39:32 -04:00
1 parent 4a82b3c747
commit 1bb1a74a7d
2 files changed
+4 -9

No files matched your search

@@ -107,11 +107,11 @@ public class BlockInventoryPanel extends AbstractMachineBlock<TileInventoryPanel
case 2:
return AxisAlignedBB.getBoundingBox(x, y, z + (1- BLOCK_SIZE), x + 1, y + 1, z + 1);
case 3:
return AxisAlignedBB.getBoundingBox(x, y, z, x + 1, y + 1, BLOCK_SIZE);
return AxisAlignedBB.getBoundingBox(x, y, z, x + 1, y + 1, z + BLOCK_SIZE);
case 4:
return AxisAlignedBB.getBoundingBox(x + (1 - BLOCK_SIZE), y, z, x + 1, y + 1, z + 1);
case 5:
return AxisAlignedBB.getBoundingBox(x, y, z, BLOCK_SIZE, y + 1, z + 1);
return AxisAlignedBB.getBoundingBox(x, y, z, x + BLOCK_SIZE, y + 1, z + 1);
default:
return AxisAlignedBB.getBoundingBox(x, y, z, x + 1, y + 1, z + 1);
}