From d36172fc909e3f0dc174f2adc1bb90c8baa32be5 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 21 Mar 2026 06:32:41 -0700 Subject: [PATCH] fix: fire PLAYER_MONEY event from SMSG_LOOT_MONEY_NOTIFY The loot money handler directly updates playerMoneyCopper_ but wasn't firing PLAYER_MONEY. The update object path fires it when the coinage field changes, but there can be a delay. Now gold-tracking addons (Accountant, GoldTracker) immediately see looted money. --- src/game/game_handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 76fed46c..6d2dbc5f 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -4784,6 +4784,7 @@ void GameHandler::handlePacket(network::Packet& packet) { recentLootMoneyAnnounceCooldowns_[notifyGuid] = 1.5f; } } + if (addonEventCallback_) addonEventCallback_("PLAYER_MONEY", {}); } break; }