Core/Creatures: fixed school immunity unapply when updating entry and unified code
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4ca95983b1dc55e5b656d934d99b92cee30b444)
This commit is contained in:
@@ -357,7 +357,7 @@ namespace Game.Entities
|
||||
owner.ToPlayer().SetLastPetNumber(petId);
|
||||
|
||||
// must be after SetMinion (owner guid check)
|
||||
LoadMechanicTemplateImmunity();
|
||||
LoadTemplateImmunities();
|
||||
m_loading = false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user