From db6e91afd1c73a67f9c842538dc7510fba0c9c1f Mon Sep 17 00:00:00 2001 From: Knack117 Date: Sun, 8 Feb 2026 15:13:46 -0500 Subject: [PATCH] Action bars: fix Gearset/Job Gear Set icon clearing when first gear slot changes Call LoadIconId() before reading slot IconId so the game populates the icon from ApparentSlotType/ApparentActionId (e.g. job icon for GearSet). Without this, when the first equipment slot in a gearset changes the cached IconId can be 0 and the bar shows a blank icon. Co-authored-by: Cursor --- Helpers/ActionBarsManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Helpers/ActionBarsManager.cs b/Helpers/ActionBarsManager.cs index 85b2c0e..87d0990 100644 --- a/Helpers/ActionBarsManager.cs +++ b/Helpers/ActionBarsManager.cs @@ -122,6 +122,11 @@ namespace HSUI.Helpers continue; } + // Populate IconId from ApparentSlotType/ApparentActionId. Required for GearSet and other + // dynamic types: the game derives the job icon from the gearset (e.g. first equipment slot). + // Without this, when the first gear slot changes the cached IconId can be 0 and the bar shows a blank. + slot->LoadIconId(); + bool usable = slot->IsSlotUsable(slot->ApparentSlotType, slot->ApparentActionId); uint iconId = slot->IconId; uint actionId = slot->ApparentActionId;