fix(Scripts/Commands): Display GUID on gob info (#17900)

* fix(Scripts/Commands): Display GUID on gob info

* close https://github.com/azerothcore/azerothcore-wotlk/issues/8129

* Update cs_gobject.cpp
This commit is contained in:
Kitzunu
2023-11-29 20:14:58 +01:00
committed by GitHub
parent f6e8539f40
commit 635288b5c5

View File

@@ -541,6 +541,8 @@ public:
lootId = gameObjectInfo->fishinghole.lootId;
handler->PSendSysMessage(LANG_GOINFO_ENTRY, entry);
if (gameObject)
handler->PSendSysMessage("GUID: %u", gameObject->GetGUID().GetCounter());
handler->PSendSysMessage(LANG_GOINFO_TYPE, type);
handler->PSendSysMessage(LANG_GOINFO_LOOTID, lootId);
handler->PSendSysMessage(LANG_GOINFO_DISPLAYID, displayId);