int index = weapons.indexOf(entity.getEquipment(wn));
int index = entity.getWeaponList().indexOf(entity.getEquipment(wn));
    public void selectWeapon(int wn) {        if (wn == -1) {            weaponList.select(-1);            return;        }        int index = weapons.indexOf(entity.getEquipment(wn));        weaponList.select(index);        displaySelected();    }