mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Scripts/UK: Fixed crash. A better way must be implemented if there is any.
This commit is contained in:
@@ -302,7 +302,7 @@ class spell_frost_tomb : public SpellScriptLoader
|
||||
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEATH)
|
||||
if (Unit* caster = GetCaster())
|
||||
if (caster->ToCreature() && caster->isAlive())
|
||||
caster->ToCreature()->DespawnOrUnsummon();
|
||||
caster->ToCreature()->DespawnOrUnsummon(1000);
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in New Issue
Block a user