Skip to content

Commit

Permalink
Merge pull request #391 from ffxivcode/(Queue-Fix)
Browse files Browse the repository at this point in the history
Opps Missed ()
  • Loading branch information
Herculezz55 authored Sep 5, 2024
2 parents 64504a8 + 217600a commit fb5f48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoDuty/Helpers/QueueHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal static void QueueTrust()
{
if (TrustHelper.State == ActionState.Running) return;

if (!GenericHelpers.TryGetAddonByName("Dawn", out AtkUnitBase* addonDawn) || !GenericHelpers.IsAddonReady(addonDawn) && EzThrottler.Throttle("OpenDawn", 5000))
if ((!GenericHelpers.TryGetAddonByName("Dawn", out AtkUnitBase* addonDawn) || !GenericHelpers.IsAddonReady(addonDawn))&& EzThrottler.Throttle("OpenDawn", 5000))
{
Svc.Log.Debug("Queue Helper - Opening Dawn");
AgentModule.Instance()->GetAgentByInternalId(AgentId.Dawn)->Show();
Expand Down Expand Up @@ -128,7 +128,7 @@ internal static void QueueTrust()

internal static void QueueSupport()
{
if (!GenericHelpers.TryGetAddonByName("DawnStory", out AtkUnitBase* addonDawnStory) || !GenericHelpers.IsAddonReady(addonDawnStory) && EzThrottler.Throttle("OpenDawnStory", 5000))
if ((!GenericHelpers.TryGetAddonByName("DawnStory", out AtkUnitBase* addonDawnStory) || !GenericHelpers.IsAddonReady(addonDawnStory)) && EzThrottler.Throttle("OpenDawnStory", 5000))
{
Svc.Log.Debug("Queue Helper - Opening DawnStory");
AgentModule.Instance()->GetAgentByInternalId(AgentId.DawnStory)->Show();
Expand Down

0 comments on commit fb5f48f

Please sign in to comment.