{
if(player.getCursedWeaponEquippedId() != item.getItemId())
{
CursedWeapon cw2 = _cursedWeapons.get(player.getCursedWeaponEquippedId());
cw2.setNbKills(cw2.getStageKills() - 1);
cw2.increaseKills();
}
// erase the newly obtained cursed weapon
endOfLife(cw);
player.getInventory().destroyItem(item, 1, true);
}