sync with azerothcore

This commit is contained in:
Yunfan Li
2023-12-12 21:02:23 +08:00
parent 748801b10b
commit 5e14f2f26d
8 changed files with 20 additions and 18 deletions

View File

@@ -222,7 +222,7 @@ class PlayerbotsServerScript : public ServerScript
public:
PlayerbotsServerScript() : ServerScript("PlayerbotsServerScript") { }
void OnPacketReceived(WorldSession* session, WorldPacket const& packet) override
void OnPacketReceived(WorldSession* session, WorldPacket& packet) override
{
if (Player* player = session->GetPlayer())
if (PlayerbotMgr* playerbotMgr = GET_PLAYERBOT_MGR(player))