for (Mounted mounted : getEquipment()){
for (Mounted mounted : getMisc()){
    public boolean hasHarJelIn(int loc) {        if (loc == Mech.LOC_HEAD) return false;        for (Mounted mounted : getEquipment()){            if (mounted.getLocation() == loc && mounted.isReady() &&                    mounted.getType().hasFlag(MiscType.F_HARJEL)) {                return true;            }        }        return false;    }