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:
@@ -541,6 +541,8 @@ public:
|
|||||||
lootId = gameObjectInfo->fishinghole.lootId;
|
lootId = gameObjectInfo->fishinghole.lootId;
|
||||||
|
|
||||||
handler->PSendSysMessage(LANG_GOINFO_ENTRY, entry);
|
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_TYPE, type);
|
||||||
handler->PSendSysMessage(LANG_GOINFO_LOOTID, lootId);
|
handler->PSendSysMessage(LANG_GOINFO_LOOTID, lootId);
|
||||||
handler->PSendSysMessage(LANG_GOINFO_DISPLAYID, displayId);
|
handler->PSendSysMessage(LANG_GOINFO_DISPLAYID, displayId);
|
||||||
|
|||||||
Reference in New Issue
Block a user