Core/Pets: Removed overriding unit class for pets

Port From (https://github.com/TrinityCore/TrinityCore/commit/2c702df4e3b25d764a2712577048921008a20671)
This commit is contained in:
Hondacrx
2024-08-04 16:33:41 -04:00
parent cb16de1f15
commit 5b71b59358
3 changed files with 3 additions and 15 deletions
-1
View File
@@ -220,7 +220,6 @@ namespace Game.Entities
case PetType.Summon:
petlevel = owner.GetLevel();
SetClass(Class.Mage);
ReplaceAllUnitFlags(UnitFlags.PlayerControlled); // this enables popup window (pet dismiss, cancel)
break;
case PetType.Hunter: