Core/Spells: Crash fix