if (mounted.isDestroyed()) {
if (mounted.isDestroyed() || mounted.isBreached()) {
    public int getHeatCapacity() {        int capacity = 0;                for (Enumeration i = miscList.elements(); i.hasMoreElements();) {            Mounted mounted = (Mounted)i.nextElement();            if (mounted.isDestroyed()) {                continue;            }            if (mounted.getType().hasFlag(MiscType.F_HEAT_SINK)) {                capacity++;            } else if(mounted.getType().hasFlag(MiscType.F_DOUBLE_HEAT_SINK)) {                capacity += 2;            }        }                return capacity;    }