Use EquipGearset instead of calling a command
This commit is contained in:
@@ -360,7 +360,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable
|
|||||||
if (gearsetId.HasValue)
|
if (gearsetId.HasValue)
|
||||||
{
|
{
|
||||||
if (ImGuiUtils.ButtonCentered("Switch Job"))
|
if (ImGuiUtils.ButtonCentered("Switch Job"))
|
||||||
Service.Chat.SendMessage($"/gearset change {gearsetId + 1}");
|
RaptureGearsetModule.Instance()->EquipGearset(gearsetId.Value);
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip($"Swap to gearset {gearsetId + 1}");
|
ImGui.SetTooltip($"Swap to gearset {gearsetId + 1}");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user