Core/Items: Changed how azerite item bonuses are applied at login to avoid applying them twice
Port From (https://github.com/TrinityCore/TrinityCore/commit/d02f3ca7cab196eb2b2b14410582aff009b04817)
This commit is contained in:
@@ -1184,6 +1184,7 @@ namespace Game.Entities
|
||||
|
||||
_ApplyAllAuraStatMods();
|
||||
_ApplyAllItemMods();
|
||||
ApplyAllAzeriteItemMods(true);
|
||||
|
||||
SetCanModifyStats(true);
|
||||
|
||||
@@ -1193,6 +1194,7 @@ namespace Game.Entities
|
||||
{
|
||||
SetCanModifyStats(false);
|
||||
|
||||
ApplyAllAzeriteItemMods(false);
|
||||
_RemoveAllItemMods();
|
||||
_RemoveAllAuraStatMods();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user