Remove obsolete selection box code

This commit is contained in:
Moses Miller committed 2026-05-26 19:09:29 -07:00
1 parent 9bdf192f64
commit f7578f33de
1 file changed
+1 -6
@@ -21,7 +21,6 @@ import tconstruct.util.config.PHConstruct;
public class GlassBlockConnected extends MantleBlock {
protected IIcon[] icons = new IIcon[16];
private static final boolean shouldRenderSelectionBox = true;
protected String folder;
private final int renderPass;
@@ -329,11 +328,7 @@ public class GlassBlockConnected extends MantleBlock {
@Override
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int x, int y, int z) {
if (shouldRenderSelectionBox) {
return super.getSelectedBoundingBoxFromPool(world, x, y, z);
} else {
return AxisAlignedBB.getBoundingBox(0D, 0D, 0D, 0D, 0D, 0D);
}
return super.getSelectedBoundingBoxFromPool(world, x, y, z);
}
protected void registerBlockIcons(IIconRegister iconRegister, IIcon[] icons, String folder) {