fix(Core/PacketIO): Remove wrong QueuePacket() (#15124)
This commit is contained in:
@@ -332,11 +332,10 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater)
|
|||||||
//! the client to be in world yet. We will re-add the packets to the bottom of the queue and process them later.
|
//! the client to be in world yet. We will re-add the packets to the bottom of the queue and process them later.
|
||||||
if (!m_playerRecentlyLogout)
|
if (!m_playerRecentlyLogout)
|
||||||
{
|
{
|
||||||
requeuePackets.push_back(packet);
|
// requeuePackets.push_back(packet);
|
||||||
deletePacket = false;
|
deletePacket = false;
|
||||||
QueuePacket(packet);
|
|
||||||
|
|
||||||
LOG_DEBUG("network", "Re-enqueueing packet with opcode %s with with status STATUS_LOGGEDIN. "
|
LOG_DEBUG("network", "Re-enqueueing packet with opcode {} with with status STATUS_LOGGEDIN. "
|
||||||
"Player {} is currently not in world yet.", GetOpcodeNameForLogging(static_cast<OpcodeClient>(packet->GetOpcode())), GetPlayerInfo());
|
"Player {} is currently not in world yet.", GetOpcodeNameForLogging(static_cast<OpcodeClient>(packet->GetOpcode())), GetPlayerInfo());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user