mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 05:43:12 +01:00
Merge pull request #11426 from Dehravor/invalidate-player
Core/Entities: Implement SMSG_INVALIDATE_PLAYER
This commit is contained in:
@@ -3167,6 +3167,10 @@ void World::UpdateCharacterNameData(uint32 guid, std::string const& name, uint8
|
||||
|
||||
if (race != RACE_NONE)
|
||||
itr->second.m_race = race;
|
||||
|
||||
WorldPacket data(SMSG_INVALIDATE_PLAYER, 8);
|
||||
data << MAKE_NEW_GUID(guid, 0, HIGHGUID_PLAYER);
|
||||
SendGlobalMessage(&data);
|
||||
}
|
||||
|
||||
void World::UpdateCharacterNameDataLevel(uint32 guid, uint8 level)
|
||||
|
||||
Reference in New Issue
Block a user