From 4063bfae0540bcbee1999ce970d7a641809673f9 Mon Sep 17 00:00:00 2001 From: NostraThomas99 <34015422+NostraThomas99@users.noreply.github.com> Date: Wed, 5 Jun 2024 00:02:16 -0500 Subject: [PATCH] Fixed a bug that could prevent selected target from updating --- RotationSolver/Commands/RSCommands_Actions.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/RotationSolver/Commands/RSCommands_Actions.cs b/RotationSolver/Commands/RSCommands_Actions.cs index 60422bd13..8e86dedaf 100644 --- a/RotationSolver/Commands/RSCommands_Actions.cs +++ b/RotationSolver/Commands/RSCommands_Actions.cs @@ -108,12 +108,7 @@ public static void DoAction() if (tar != null && tar != Player.Object && tar.IsEnemy()) { DataCenter.HostileTarget = tar; - if (!DataCenter.IsManual - && (Service.Config.SwitchTargetFriendly || ((Svc.Targets.Target?.IsEnemy() ?? true) - || Svc.Targets.Target?.GetObjectKind() == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Treasure))) - { - Svc.Targets.Target = tar; - } + Svc.Targets.Target = tar; } }