mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[11465] non-ObjectGuid guids in random places.
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
This commit is contained in:
parent
a925db80fa
commit
ef6a48fe03
44 changed files with 219 additions and 215 deletions
|
|
@ -306,7 +306,7 @@ bool ChatHandler::HandleDebugSendChatMsgCommand(char* args)
|
|||
return false;
|
||||
|
||||
WorldPacket data;
|
||||
ChatHandler::FillMessageData(&data, m_session, type, 0, "chan", m_session->GetPlayer()->GetGUID(), msg, m_session->GetPlayer());
|
||||
ChatHandler::FillMessageData(&data, m_session, type, 0, "chan", m_session->GetPlayer()->GetObjectGuid(), msg, m_session->GetPlayer());
|
||||
m_session->SendPacket(&data);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -528,7 +528,7 @@ bool ChatHandler::HandleDebugGetItemStateCommand(char* args)
|
|||
error = true; continue;
|
||||
}
|
||||
|
||||
if (item2->GetOwnerGuid() != player->GetGUID())
|
||||
if (item2->GetOwnerGuid() != player->GetObjectGuid())
|
||||
{
|
||||
PSendSysMessage("%s in bag %u at slot %u owner (%s) and inventory owner (%s) don't match!",
|
||||
item2->GetGuidStr().c_str(), bag->GetSlot(), item2->GetSlot(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue