mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/Emote: Fix an issue with EMOTE_STATE_READ, which persisted after closing the map
This commit is contained in:
@@ -1257,9 +1257,9 @@ void ScriptMgr::OnPlayerChat(Player* player, uint32 type, uint32 lang, std::stri
|
||||
FOREACH_SCRIPT(PlayerScript)->OnChat(player, type, lang, msg, channel);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerEmote(Player* player, uint32 emote)
|
||||
void ScriptMgr::OnPlayerClearEmote(Player* player)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnEmote(player, emote);
|
||||
FOREACH_SCRIPT(PlayerScript)->OnClearEmote(player);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerTextEmote(Player* player, uint32 textEmote, uint32 emoteNum, ObjectGuid guid)
|
||||
|
||||
Reference in New Issue
Block a user