Dont take imagination on initial tame

This commit is contained in:
EmosewaMC
2022-06-18 00:14:24 -07:00
parent 0774ab930d
commit 2a0616d0e9
2 changed files with 9 additions and 9 deletions

View File

@@ -82,7 +82,7 @@ public:
* @param item the item to create the pet from
* @param registerPet notifies the client that the pet was spawned, not necessary if this pet is being tamed
*/
void Activate(Item* item, bool registerPet = true);
void Activate(Item* item, bool registerPet = true, bool fromTaming = false);
/**
* Despawns the pet
@@ -209,7 +209,7 @@ public:
*
* @param item The item that represents this pet in the inventory.
*/
void AddDrainImaginationTimer(Item* item);
void AddDrainImaginationTimer(Item* item, bool fromTaming = false);
private: