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:
parent
f6e8539f40
commit
635288b5c5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue