&& Game.PHASE_DEPLOYMENT != clientgui.getClient().game.getPhase()
&& IGame.PHASE_DEPLOYMENT != clientgui.getClient().game.getPhase()
    public void itemStateChanged(ItemEvent ev) {        if(ev.getItemSelectable() == locList) {            m_chMode.removeAll();            m_chMode.setEnabled(false);            displaySlots();        }        else if (ev.getItemSelectable() == slotList) {            m_bDumpAmmo.setEnabled(false);            m_chMode.setEnabled(false);            modeLabel.setEnabled(false);            Mounted m = getSelectedEquipment();            boolean bOwner = (clientgui.getClient().getLocalPlayer() == en.getOwner());            if ( m != null && bOwner && m.getType() instanceof AmmoType                 && Game.PHASE_DEPLOYMENT != clientgui.getClient().game.getPhase()                 && m.getShotsLeft() > 0 && !m.isDumping() && en.isActive() ) {                m_bDumpAmmo.setEnabled(true);            }            else if (m != null && bOwner && m.getType().hasModes()) {                if (!m.isDestroyed() && en.isActive()) {                    m_chMode.setEnabled(true);                }                if (!m.isDestroyed() && m.getType().hasFlag(MiscType.F_STEALTH)) {                    m_chMode.setEnabled(true);                }                modeLabel.setEnabled(true);                m_chMode.removeAll();                String[] saModes = m.getType().getModes();                for (int x = 0; x < saModes.length; x++) {                    m_chMode.add(saModes[x]);                }                m_chMode.select(m.curMode());            }        }        else if (ev.getItemSelectable() == m_chMode) {            Mounted m = getSelectedEquipment();            if (m != null && m.getType().hasModes()) {                int nMode = m.setMode(m_chMode.getSelectedItem());                // send the event to the server                clientgui.getClient().sendModeChange(en.getId(), en.getEquipmentNum(m), nMode);                // notify the player                if (m.getType().hasInstantModeSwitch()) {                                        clientgui.systemMessage(Messages.getString("MechDisplay.switched", new Object[]{m.getName(),m.curMode()}));//$NON-NLS-1$                }                else {                    if (Game.PHASE_DEPLOYMENT == clientgui.getClient().game.getPhase() ) {                                                 clientgui.systemMessage(Messages.getString("MechDisplay.willSwitchAtStart", new Object[]{m.getName(),m.pendingMode()}));//$NON-NLS-1$                    } else{                         clientgui.systemMessage(Messages.getString("MechDisplay.willSwitchAtEnd", new Object[]{m.getName(),m.pendingMode()}));//$NON-NLS-1$                    }                }                displaySlots();            }        }    }