Skip to content

Commit

Permalink
[Playerbot] RndbotMgr improvements
Browse files Browse the repository at this point in the history
Add teleport locations cache
Reduce unnecessary SQL Queries
  • Loading branch information
PargeLenis committed Oct 24, 2023
1 parent 31d91e0 commit 162f073
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 213 deletions.
2 changes: 1 addition & 1 deletion src/modules/Bots/playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ bool ChatHandler::HandlePlayerbotCommand(char* args)

bool ChatHandler::HandleRandomPlayerbotCommand(char* args)
{
return RandomPlayerbotMgr::HandlePlayerbotConsoleCommand(this, args);
return RandomPlayerbotMgr::HandlePlayerbotConsoleCommand(args);
}

bool ChatHandler::HandleAhBotCommand(char* args)
Expand Down
Loading

0 comments on commit 162f073

Please sign in to comment.