mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Pet: Fix typo
Fix typo in Pet::resetTalentsForAllPetsOf() that would cause not to reset talent spells of any pet
This commit is contained in:
@@ -1749,7 +1749,7 @@ void Pet::resetTalentsForAllPetsOf(Player* owner, Pet* onlinePet /*= nullptr*/)
|
||||
petIds.erase(onlinePet->GetCharmInfo()->GetPetNumber());
|
||||
|
||||
// no offline pets
|
||||
if (!petIds.empty())
|
||||
if (petIds.empty())
|
||||
return;
|
||||
|
||||
bool need_comma = false;
|
||||
|
||||
Reference in New Issue
Block a user