return entity.getEquipmentNum((Mounted)weapons.elementAt(selected));
return entity.getEquipmentNum((Mounted)entity.getWeaponList().get(selected));
    public int getSelectedWeaponNum() {        int selected = weaponList.getSelectedIndex();        if (selected == -1) {            return -1;        }        return entity.getEquipmentNum((Mounted)weapons.elementAt(selected));    }