mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG-- branch : trunk
This commit is contained in:
@@ -1496,7 +1496,7 @@ Creature* Battleground::GetBGCreature(uint32 type)
|
||||
{
|
||||
Creature *creature = GetBgMap()->GetCreature(m_BgCreatures[type]);
|
||||
if (!creature)
|
||||
sLog->outError("couldn't get creature %i",type);
|
||||
sLog->outError("Could not get BG creature %i (BG: %s Instance: %u)", type, GetBgMap()->GetBG()->GetName(), GetBgMap()->GetInstanceId());
|
||||
return creature;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user