mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Build fix
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Trainer
|
||||
BattlePetSpeciesEntry const* speciesEntry = sSpellMgr->GetBattlePetSpecies(trainerSpell->SpellId);
|
||||
if (speciesEntry)
|
||||
{
|
||||
if (player->GetSession()->GetBattlePetMgr()->HasMaxPetCount(speciesEntry))
|
||||
if (player->GetSession()->GetBattlePetMgr()->HasMaxPetCount(speciesEntry, player->GetGUID()))
|
||||
{
|
||||
// Don't send any error to client (intended)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user