diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index ad82c1a000..1599fe2b75 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1572,6 +1572,11 @@ public: void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { + if (!GetCaster()) + { + return; + } + Player* player = GetCaster()->ToPlayer(); if (Creature * creature = player->FindNearestCreature(CREATURE_INSTANT_STATUE_PEDESTAL, 0.0f, true)) {