mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: ASTGauge.Seals threw cast error
oops
This commit is contained in:
parent
f1ce9b49b3
commit
20aae02162
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue