(!atCheck.hasFlag(AmmoType.F_PROTOMECH) || entity instanceof Protomech) &&
    private void setupMunitions() {                GridBagLayout gbl = new GridBagLayout();        panMunitions.setLayout(gbl);        GridBagConstraints gbc = new GridBagConstraints();                int row = 0;        for (Enumeration e = entity.getAmmo(); e.hasMoreElements(); ) {            Mounted m = (Mounted)e.nextElement();            AmmoType at = (AmmoType)m.getType();            Vector vTypes = new Vector();            Vector vAllTypes = AmmoType.getMunitionsFor(at.getAmmoType());            if (vAllTypes == null || vAllTypes.size() < 2) {                continue;            }                        for (int x = 0, n = vAllTypes.size(); x < n; x++) {                AmmoType atCheck = (AmmoType)vAllTypes.elementAt(x);                                boolean bTechMatch = (entity.getTechLevel() == atCheck.getTechType());                if (!bTechMatch && entity.getTechLevel() == TechConstants.T_IS_LEVEL_2 &&                         atCheck.getTechType() == TechConstants.T_IS_LEVEL_1) {                    bTechMatch = true;                }                                // if is_eq_limits is unchecked allow l1 guys to use l2 stuff                if (!client.game.getOptions().booleanOption("is_eq_limits")                    && entity.getTechLevel() == TechConstants.T_IS_LEVEL_1                    && atCheck.getTechType() == TechConstants.T_IS_LEVEL_2) {                    bTechMatch = true;                }                if (!client.game.getOptions().booleanOption("minefields") &&                	AmmoType.canDeliverMinefield(atCheck)) {                	continue;                }                // Battle Armor ammo can't be selected.                if ( bTechMatch &&                     atCheck.getRackSize() == at.getRackSize() &&                     !atCheck.hasFlag(AmmoType.F_BATTLEARMOR) &&                     atCheck.getTonnage(entity) == at.getTonnage(entity) ) {                    vTypes.addElement(atCheck);                }            }                        if (vTypes.size() < 2) {                continue;            }                        gbc.gridy = row++;            MunitionChoicePanel mcp = new MunitionChoicePanel(m, vTypes);            gbl.setConstraints(mcp, gbc);            panMunitions.add(mcp);            m_vMunitions.addElement(mcp);        }    }