Vector weaponMods = getWeaponModifiers(weapon);
Vector<ArtilleryModifier> weaponMods = getWeaponModifiers(weapon);
    public void setModifier(Mounted weapon, int modifier, Coords coords) {        Vector weaponMods = getWeaponModifiers(weapon);        ArtilleryModifier am = getModifierByCoords(weaponMods, coords);        if(am != null) {            am.setModifier(modifier);        } else {            am = new ArtilleryModifier(coords, modifier);            weaponMods.addElement(am);        }    }