diff --git a/src/game/Chat/Level3.cpp b/src/game/Chat/Level3.cpp index 639dd714a8..63fdd781ee 100644 --- a/src/game/Chat/Level3.cpp +++ b/src/game/Chat/Level3.cpp @@ -3728,7 +3728,7 @@ bool ChatHandler::HandleNpcInfoCommand(char* /*args*/) if (CreatureGroup* group = target->GetCreatureGroup()) PSendSysMessage("Creature group: %u", group->GetGroupEntry().Id); - if (auto vector = sObjectMgr.GetAllRandomCreatureEntries(target->GetGUIDLow())) + if (auto vector = sObjectMgr.GetAllRandomCreatureEntries(target->GetDbGuid())) { std::string output; for (uint32 entry : *vector) @@ -3745,7 +3745,7 @@ bool ChatHandler::HandleNpcInfoCommand(char* /*args*/) SendSysMessage(LANG_NPCINFO_TRAINER); } - ShowNpcOrGoSpawnInformation(target->GetGUIDLow()); + ShowNpcOrGoSpawnInformation(target->GetDbGuid()); return true; }