Use EquipGearset instead of calling a command

This commit is contained in:
Asriel Camora
2023-11-17 01:38:31 -08:00
parent e72c5294de
commit 68358d9ad1
+1 -1
View File
@@ -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}");
}