mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix: (core) Game Hook Correction (#10572)
This commit is contained in:
@@ -499,6 +499,11 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvData)
|
||||
movementInfo.pos.GetPositionY(), movementInfo.pos.GetPositionZ(), plrMover->GetCollisionHeight()));
|
||||
}
|
||||
|
||||
if (plrMover)//Hook for OnPlayerMove
|
||||
{
|
||||
sScriptMgr->OnPlayerMove(plrMover, movementInfo, opcode);
|
||||
}
|
||||
|
||||
bool jumpopcode = false;
|
||||
if (opcode == MSG_MOVE_JUMP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user