goatcorp / Dalamud

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

Use correct type for GameInventoryItem.Stains #2099

Closed Haselnussbomber closed 1 week ago

Haselnussbomber commented 1 week ago

The underlying type of InventoryItem.Stains is byte. Dalamud reads ushorts, resulting in invalid data:

Screenshot

(This should be StainIds 7 and 0.)