Core/Handlers: Handle CMSG_REQUEST_PET_INFO - this fixes when you /reload and the pet bar disappears
Port From (https://github.com/TrinityCore/TrinityCore/commit/00ba5df52b4ae90f01c7177028dc9411f3632bb5)
This commit is contained in:
@@ -51,11 +51,6 @@ namespace Game
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[WorldPacketHandler(ClientOpcodes.RequestPetInfo)]
|
|
||||||
void HandleRequestPetInfo(RequestPetInfo packet)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
[WorldPacketHandler(ClientOpcodes.PetAction)]
|
[WorldPacketHandler(ClientOpcodes.PetAction)]
|
||||||
void HandlePetAction(PetAction packet)
|
void HandlePetAction(PetAction packet)
|
||||||
{
|
{
|
||||||
@@ -742,5 +737,11 @@ namespace Game
|
|||||||
|
|
||||||
SendPacket(petNameInvalid);
|
SendPacket(petNameInvalid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[WorldPacketHandler(ClientOpcodes.RequestPetInfo)]
|
||||||
|
void HandleRequestPetInfo(RequestPetInfo requestPetInfo)
|
||||||
|
{
|
||||||
|
GetPlayer().PetSpellInitialize();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user