Fix item::getImprovementsValue - it's not taking an entity ID, but a caravan state pointer