Core/BattlePets: Implemented BattlePetSpeciesFlags::NotAccountWide
Port From (https://github.com/TrinityCore/TrinityCore/commit/93c668ac50a529876054212dfef6544f70259035)
This commit is contained in:
@@ -5445,7 +5445,7 @@ namespace Game.Spells
|
||||
return;
|
||||
}
|
||||
|
||||
if (battlePetMgr.HasMaxPetCount(speciesEntry))
|
||||
if (battlePetMgr.HasMaxPetCount(speciesEntry, player.GetGUID()))
|
||||
{
|
||||
battlePetMgr.SendError(BattlePetError.CantHaveMorePetsOfThatType, speciesEntry.CreatureID);
|
||||
SendCastResult(SpellCastResult.CantAddBattlePet);
|
||||
|
||||
Reference in New Issue
Block a user