mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
Auto teleport check; Miscs
This commit is contained in:
@@ -11,6 +11,9 @@ bool AutoTeleportForLevelAction::Execute(Event event) {
|
||||
if (!sPlayerbotAIConfig->autoTeleportForLevel || !sRandomPlayerbotMgr->IsRandomBot(bot)) {
|
||||
return false;
|
||||
}
|
||||
if (botAI->HasRealPlayerMaster()) {
|
||||
return false;
|
||||
}
|
||||
sRandomPlayerbotMgr->RandomTeleportForLevel(bot);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user