From 182b6686ac74fdac3c839920c76366a198446b62 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 11 Mar 2026 18:36:32 -0700 Subject: [PATCH] Pre-query action bar item information to avoid placeholder display When items are placed on the action bar, pre-fetch their ItemDef information so the action bar displays the item name instead of a generic "Item" placeholder. This ensures item names are available when the action bar is rendered, consistent with the fix applied to quest reward items display. Calls queryItemInfo() when an item is assigned to an action bar slot. --- src/game/game_handler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 798383a0..14abdb94 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -13912,6 +13912,10 @@ void GameHandler::setActionBarSlot(int slot, ActionBarSlot::Type type, uint32_t if (slot < 0 || slot >= ACTION_BAR_SLOTS) return; actionBar[slot].type = type; actionBar[slot].id = id; + // Pre-query item information so action bar displays item name instead of "Item" placeholder + if (type == ActionBarSlot::ITEM && id != 0) { + queryItemInfo(id, 0); + } saveCharacterConfig(); }