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:
hondacrx
2021-04-16 14:54:03 -04:00
parent 9714010ab3
commit 1c3ba180fc
4 changed files with 11 additions and 24 deletions
+1 -1
View File
@@ -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;