Fixed inventory system (resolveInventory now processes locations)