mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core: Fix minor bug with max skills value not being properly updated in the database when a player has been leveled up while offline - Thanks to Hyriuu
Fixes issue 3374 --HG-- branch : trunk
This commit is contained in:
@@ -16289,6 +16289,7 @@ bool Player::LoadFromDB(uint32 guid, SqlQueryHolder *holder)
|
||||
|
||||
// load skills after InitStatsForLevel because it triggering aura apply also
|
||||
_LoadSkills(holder->GetResult(PLAYER_LOGIN_QUERY_LOADSKILLS));
|
||||
UpdateSkillsForLevel (); //update skills after load, to make sure they are correctly update at player load
|
||||
|
||||
// apply original stats mods before spell loading or item equipment that call before equip _RemoveStatsMods()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user