We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc20d1f commit 57a165cCopy full SHA for 57a165c
src/game/Chat/Level2.cpp
@@ -1249,6 +1249,8 @@ bool ChatHandler::HandleGameObjectNearCommand(char* args)
1249
const char* name = "Random (gameobject_spawn_entry)";
1250
if (gInfo)
1251
name = gInfo->name;
1252
+ else if (sObjectMgr.GetRandomGameObjectEntry(guid) == 0)
1253
+ name = "Random (spawn_group_entry)";
1254
1255
uint32 spawnGroupId = 0;
1256
if (SpawnGroupEntry* groupEntry = pl->GetMap()->GetMapDataContainer().GetSpawnGroupByGuid(guid, TYPEID_GAMEOBJECT))
0 commit comments