mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
fix(Core/Pets): fix crash at pet resurrect (#10120)
This commit is contained in:
@@ -1173,6 +1173,11 @@ public:
|
||||
[[nodiscard]] Pet* GetPet() const;
|
||||
Pet* SummonPet(uint32 entry, float x, float y, float z, float ang, PetType petType, Milliseconds duration = 0s);
|
||||
void RemovePet(Pet* pet, PetSaveMode mode, bool returnreagent = false);
|
||||
bool CanPetResurrect();
|
||||
bool IsExistPet();
|
||||
Pet* CreatePet(Creature* creatureTarget, uint32 spellID = 0);
|
||||
Pet* CreatePet(uint32 creatureEntry, uint32 spellID = 0);
|
||||
|
||||
[[nodiscard]] uint32 GetPhaseMaskForSpawn() const; // used for proper set phase for DB at GM-mode creature/GO spawn
|
||||
|
||||
/// Handles said message in regular chat based on declared language and in config pre-defined Range.
|
||||
|
||||
Reference in New Issue
Block a user