Playerbots.cpp (sync with core)

This commit is contained in:
Yunfan Li
2024-03-03 12:42:45 +08:00
parent a1903ad888
commit 6ea696d8a1

View File

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