mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 23:11:56 -04:00
Core/Items: Changed how azerite item bonuses are applied at login to avoid applying them twice
This commit is contained in:
@@ -789,6 +789,7 @@ void Player::_ApplyAllStatBonuses()
|
||||
|
||||
_ApplyAllAuraStatMods();
|
||||
_ApplyAllItemMods();
|
||||
ApplyAllAzeriteItemMods(true);
|
||||
|
||||
SetCanModifyStats(true);
|
||||
|
||||
@@ -799,6 +800,7 @@ void Player::_RemoveAllStatBonuses()
|
||||
{
|
||||
SetCanModifyStats(false);
|
||||
|
||||
ApplyAllAzeriteItemMods(false);
|
||||
_RemoveAllItemMods();
|
||||
_RemoveAllAuraStatMods();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user