Core/Players: Fixed pvp talents being reset on login if player is below level 110 (pre level squish code)

Port From (https://github.com/TrinityCore/TrinityCore/commit/9c90a18ee5ecccf597388fe52633813c6d2c5726)
This commit is contained in:
hondacrx
2022-01-28 17:15:36 -05:00
parent 7531735669
commit 300ab632e0
5 changed files with 157 additions and 150 deletions
-2
View File
@@ -3153,8 +3153,6 @@ namespace Game.Entities
InitTalentForLevel();
LearnDefaultSkills();
LearnCustomSpells();
if (GetLevel() < PlayerConst.LevelMinHonor)
ResetPvpTalents();
// must be before inventory (some items required reputation check)
reputationMgr.LoadFromDB(holder.GetResult(PlayerLoginQueryLoad.Reputation));