&& !(m.getType().hasInstantModeSwitch())) {
&& !m.getType().hasInstantModeSwitch()) {
    private void receiveEntityModeChange(Packet c, int connIndex) {        int entityId = c.getIntValue(0);        int equipId = c.getIntValue(1);        int mode = c.getIntValue(2);        Entity e = game.getEntity(entityId);        if (e.getOwner() != getPlayer(connIndex)) {            return;        }        Mounted m = e.getEquipment(equipId);        // a mode change for ammo means dumping        if (m.getType() instanceof AmmoType            && !(m.getType().hasInstantModeSwitch())) {            m.setPendingDump(mode == 1);        }        else {            m.setMode(mode);        }    }