mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 15:38:45 -07:00
f331530974
/api/avatar/v4/items truncated owned items by maxItems (was 30) and maxPerSlot (was 4). The per-slot cap silently dropped any newly-bought wardrobe item once a slot held 4+ entries — the 'I bought it but it's gone after relog' symptom. Defaults raised to 100 / 20. Clamp ranges left at [1,120] / [1,20] (prior maintainer note locked these to watch render-budget testing — raising the ceiling without retesting risks BrowsableAvatarItem / DynamicAvatarItemImposter thrash inside the watch's wardrobe drawer). Sort tiebreaker added: ThenByDescending(OriginalIndex) so when truncation has to drop entries, it drops the OLDEST (starter seed) items rather than the just-purchased one. GrantWardrobeAsync and the gift-consume path both append new GUIDs to the end of InventoryJson, so list index == purchase order.