mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
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;
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user