From 20aae0216285144539baf3bb54952bc06392e7e0 Mon Sep 17 00:00:00 2001 From: Raymond Date: Wed, 8 Dec 2021 10:40:32 -0500 Subject: [PATCH] fix: ASTGauge.Seals threw cast error oops --- Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs b/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs index f0ca3269e..cb8ed1eb0 100644 --- a/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs +++ b/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs @@ -29,12 +29,12 @@ namespace Dalamud.Game.ClientState.JobGauge.Types /// Gets the currently drawn crown . /// /// Currently drawn crown . - public CardType DrawnCrownCard => (CardType)(this.Struct->Card - (this.Struct->Card % 10)); + public CardType DrawnCrownCard => this.Struct->Card - this.DrawnCard; /// /// Gets the s currently active. /// - public SealType[] Seals => this.Struct->CurrentSeals.Cast().ToArray(); + public SealType[] Seals => this.Struct->CurrentSeals.Select(seal => (SealType)seal).ToArray(); /// /// Check if a is currently active on the divination gauge.