Return IReadOnlyList instead of ReadOnlySpan

This commit is contained in:
Haselnussbomber 2025-10-06 02:08:18 +02:00
parent bcf651b5c1
commit 2cf869872d
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,5 @@
using System.Collections.Generic;
using Dalamud.Data;
using Dalamud.IoC;
using Dalamud.IoC.Internal;
@ -118,7 +120,7 @@ internal unsafe class PlayerState : IServiceType, IPlayerState
public RowRef<Aetheryte> HomeAetheryte => this.IsLoaded ? LuminaUtils.CreateRef<Aetheryte>(CSPlayerState.Instance()->HomeAetheryteId) : default;
/// <inheritdoc/>
public ReadOnlySpan<RowRef<Aetheryte>> FavoriteAetherytes
public IReadOnlyList<RowRef<Aetheryte>> FavoriteAetherytes
{
get
{