mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 23:45:55 +00:00
Fix horribly broken invpanel block bounds
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user