mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 05:55:07 +00:00
fix(Scripts/UBRS): fix crash with Solakar minions (#10638)
This commit is contained in:
@@ -362,7 +362,10 @@ public:
|
|||||||
case FAIL:
|
case FAIL:
|
||||||
for (const auto& creature : SolakarSummons)
|
for (const auto& creature : SolakarSummons)
|
||||||
{
|
{
|
||||||
creature->RemoveFromWorld();
|
if (creature)
|
||||||
|
{
|
||||||
|
creature->RemoveFromWorld();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
SolakarSummons.clear();
|
SolakarSummons.clear();
|
||||||
CurrentSolakarWave = 0;
|
CurrentSolakarWave = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user