goatcorp / Dalamud

FFXIV plugin framework and API
GNU Affero General Public License v3.0
1.26k stars 283 forks source link

Fix universali upload with itemId 0 #2077

Closed Infiziert90 closed 1 week ago

Infiziert90 commented 1 week ago

Fixes #2069

This happens because it was falsely assumed that listings would always carry the Item ID. History always returns the Item ID, so we can use it instead to fill this field,

22:36:07.815 | VRB | "/upload": "{\"worldID\":0,\"itemID\":44488,\"listings\":[],\"entries\":[],\"uploaderID\":\"[CENSORED]\"}"