From 68358d9ad192e609f22d0b4e4f35611b504a53c7 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Fri, 17 Nov 2023 01:38:31 -0800 Subject: [PATCH] Use EquipGearset instead of calling a command --- Craftimizer/Windows/RecipeNote.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Craftimizer/Windows/RecipeNote.cs b/Craftimizer/Windows/RecipeNote.cs index 8c8c8ab..6e338cc 100644 --- a/Craftimizer/Windows/RecipeNote.cs +++ b/Craftimizer/Windows/RecipeNote.cs @@ -360,7 +360,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable if (gearsetId.HasValue) { if (ImGuiUtils.ButtonCentered("Switch Job")) - Service.Chat.SendMessage($"/gearset change {gearsetId + 1}"); + RaptureGearsetModule.Instance()->EquipGearset(gearsetId.Value); if (ImGui.IsItemHovered()) ImGui.SetTooltip($"Swap to gearset {gearsetId + 1}"); }