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