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.
This commit is contained in:
Kelsi 2026-03-21 06:32:41 -07:00
parent b3ad64099b
commit d36172fc90

View file

@ -4784,6 +4784,7 @@ void GameHandler::handlePacket(network::Packet& packet) {
recentLootMoneyAnnounceCooldowns_[notifyGuid] = 1.5f;
}
}
if (addonEventCallback_) addonEventCallback_("PLAYER_MONEY", {});
}
break;
}