mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix initself crash (#1488)
This commit is contained in:
@@ -3331,7 +3331,7 @@ void PlayerbotFactory::InitReagents()
|
||||
void PlayerbotFactory::InitGlyphs(bool increment)
|
||||
{
|
||||
bot->InitGlyphsForLevel();
|
||||
if (!increment &&
|
||||
if (!increment && botAI &&
|
||||
botAI->GetAiObjectContext()->GetValue<bool>("custom_glyphs")->Get())
|
||||
return; // // Added for custom Glyphs - custom glyphs flag test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user