mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Playerbots.cpp (sync with core)
This commit is contained in:
parent
a1903ad888
commit
6ea696d8a1
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user