Use correct type for GameInventoryItem.Stains (#2099)

This commit is contained in:
Haselnussbomber 2024-11-17 02:50:15 +01:00 committed by GitHub
parent aa450a7199
commit 0d9eed298c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,7 +122,7 @@ public unsafe struct GameInventoryItem : IEquatable<GameInventoryItem>
/// <summary>
/// Gets the color used for this item.
/// </summary>
public ReadOnlySpan<ushort> Stains => new(Unsafe.AsPointer(ref this.InternalItem.Stains[0]), 2);
public ReadOnlySpan<byte> Stains => new(Unsafe.AsPointer(ref this.InternalItem.Stains[0]), 2);
/// <summary>
/// Gets the glamour id for this item.