Update LuaInterface.cpp
This commit is contained in:
parent
bd9f1bd8ce
commit
19cd63878c
@ -942,6 +942,7 @@ void LuaInterface::RemoveSpell(LuaSpell* spell, bool call_remove_function, bool
|
||||
spell->caster->GetZone()->GetSpellProcess()->RemoveSpellScriptTimerBySpell(spell, false);
|
||||
}
|
||||
spell->caster->RemoveProc(0, spell);
|
||||
spell->caster->RemoveSpellEffect(spell);
|
||||
spell->caster->RemoveMaintainedSpell(spell);
|
||||
|
||||
if(spell->spell && spell->spell->GetSpellData() && spell->caster->IsPlayer() && !removing_all_spells)
|
||||
|
Loading…
x
Reference in New Issue
Block a user