mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Handlers: Handle CMSG_REQUEST_PET_INFO - this fixes when you /reload and the pet bar disappears (#23762)
This commit is contained in:
committed by
Giacomo Pozzoni
parent
4074cb0f01
commit
6ebe1afeec
@@ -1390,14 +1390,6 @@ void WorldSession::HandleMoveSetCanFlyAckOpcode(WorldPacket& recvData)
|
||||
_player->GetUnitBeingMoved()->m_movementInfo.flags = movementInfo.GetMovementFlags();
|
||||
}
|
||||
|
||||
void WorldSession::HandleRequestPetInfoOpcode(WorldPacket& /*recvData */)
|
||||
{
|
||||
/*
|
||||
TC_LOG_DEBUG("network", "WORLD: CMSG_REQUEST_PET_INFO");
|
||||
recvData.hexlike();
|
||||
*/
|
||||
}
|
||||
|
||||
void WorldSession::HandleSetTaxiBenchmarkOpcode(WorldPacket& recvData)
|
||||
{
|
||||
TC_LOG_DEBUG("network", "WORLD: CMSG_SET_TAXI_BENCHMARK_MODE");
|
||||
|
||||
@@ -885,3 +885,8 @@ void WorldSession::HandleLearnPreviewTalentsPet(WorldPacket& recvData)
|
||||
|
||||
recvData.rfinish();
|
||||
}
|
||||
|
||||
void WorldSession::HandleRequestPetInfoOpcode(WorldPacket& /*recvPacket*/)
|
||||
{
|
||||
GetPlayer()->PetSpellInitialize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user