[Command] Fix self command

This commit is contained in:
Yunfan Li
2024-07-19 14:52:19 +08:00
parent 2f93eeedc9
commit cdd4ab7080
2 changed files with 17 additions and 15 deletions

View File

@@ -299,7 +299,7 @@ class PlayerbotsScript : public PlayerbotScript
{
botAI->HandleBotOutgoingPacket(*packet);
}
else if (PlayerbotMgr* playerbotMgr = GET_PLAYERBOT_MGR(player))
if (PlayerbotMgr* playerbotMgr = GET_PLAYERBOT_MGR(player))
{
playerbotMgr->HandleMasterOutgoingPacket(*packet);
}