mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
fix(Scripts/Midsummer): Resolve Ribbon Pole crash. (#19108)
* Init.
* Add todo.
For you, Nyeriah. 😛
This commit is contained in:
@@ -709,7 +709,8 @@ struct npc_midsummer_ribbon_pole_target : public ScriptedAI
|
||||
// remove non-dancing players from list
|
||||
std::erase_if(_dancerList, [](Player* dancer)
|
||||
{
|
||||
return !dancer->HasAura(SPELL_RIBBON_POLE_PERIODIC_VISUAL);
|
||||
if (dancer) /// @todo: replace with GUID storage rather than Player object
|
||||
return !dancer->HasAura(SPELL_RIBBON_POLE_PERIODIC_VISUAL);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user