mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Packet: send SMSG_QUESTGIVER_STATUS_MULTIPLE when the player levels up. (#23434)
Ensures that nearby questgivers are properly updated and will offer quests unlocked at the new level reached.
This commit is contained in:
committed by
Giacomo Pozzoni
parent
17671c633c
commit
cb8b1069c4
@@ -2668,6 +2668,8 @@ void Player::GiveLevel(uint8 level)
|
||||
SetByteFlag(PLAYER_FIELD_BYTES, PLAYER_FIELD_BYTES_OFFSET_RAF_GRANTABLE_LEVEL, 0x01);
|
||||
}
|
||||
|
||||
SendQuestGiverStatusMultiple();
|
||||
|
||||
sScriptMgr->OnPlayerLevelChanged(this, oldLevel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user