mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +00:00
[12736] Implemented reforge, also added missing part for HandleObjectUpdateFailedOpcode
This commit is contained in:
parent
22e906cea5
commit
3490f642cf
17 changed files with 464 additions and 14 deletions
|
|
@ -1604,5 +1604,12 @@ void WorldSession::HandleObjectUpdateFailedOpcode(WorldPacket& recv_data)
|
|||
recv_data.ReadGuidBytes<6, 7, 2, 3, 1, 4, 0, 5>(guid);
|
||||
|
||||
DEBUG_LOG("WORLD: Received CMSG_OBJECT_UPDATE_FAILED from %s (%u) guid: %s", GetPlayerName(), GetAccountId(), guid.GetString().c_str());
|
||||
if (_player->IsInWorld())
|
||||
{
|
||||
if (WorldObject* obj = _player->GetMap()->GetWorldObject(guid))
|
||||
obj->SendCreateUpdateToPlayer(_player);
|
||||
}
|
||||
else
|
||||
sLog.outError("WorldSession::HandleObjectUpdateFailedOpcode: received from player not in map");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue