mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
Crash fix in GuildManagementActions
This commit is contained in:
@@ -213,7 +213,7 @@ bool GuildManageNearbyAction::Execute(Event event)
|
||||
if (sServerFacade->GetDistance2d(bot, player) > sPlayerbotAIConfig->sightDistance)
|
||||
continue;
|
||||
|
||||
if (botAI->DoSpecificAction("ginvite", Event("guild management", guid)))
|
||||
if (botAI && botAI->DoSpecificAction("ginvite", Event("guild management", guid)))
|
||||
found++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user