fix: ASTGauge.Seals threw cast error

oops
This commit is contained in:
Raymond 2021-12-08 10:40:32 -05:00
parent f1ce9b49b3
commit 20aae02162

View file

@ -29,12 +29,12 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
/// Gets the currently drawn crown <see cref="CardType"/>.
/// </summary>
/// <returns>Currently drawn crown <see cref="CardType"/>.</returns>
public CardType DrawnCrownCard => (CardType)(this.Struct->Card - (this.Struct->Card % 10));
public CardType DrawnCrownCard => this.Struct->Card - this.DrawnCard;
/// <summary>
/// Gets the <see cref="SealType"/>s currently active.
/// </summary>
public SealType[] Seals => this.Struct->CurrentSeals.Cast<SealType>().ToArray();
public SealType[] Seals => this.Struct->CurrentSeals.Select(seal => (SealType)seal).ToArray();
/// <summary>
/// Check if a <see cref="SealType"/> is currently active on the divination gauge.