Removed commented-out block from Entity::apply_item_action()