Updated UseItem method in gameplay.