mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9761] Restore .list object output.
No reason have different command output in chat and console just because need fix crash.
This commit is contained in:
parent
73475d0dc0
commit
d7acc13d09
8 changed files with 15 additions and 7 deletions
|
|
@ -2572,7 +2572,7 @@ bool ChatHandler::HandleListObjectCommand(const char* args)
|
|||
int mapid = fields[4].GetUInt16();
|
||||
|
||||
if (m_session)
|
||||
PSendSysMessage(LANG_GO_LIST_CHAT, guid, gInfo->id, guid, gInfo->name, x, y, z, mapid);
|
||||
PSendSysMessage(LANG_GO_LIST_CHAT, guid, guid, gInfo->name, x, y, z, mapid);
|
||||
else
|
||||
PSendSysMessage(LANG_GO_LIST_CONSOLE, guid, gInfo->name, x, y, z, mapid);
|
||||
} while (result->NextRow());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue