From a655d0adc4d295665586ab7d29856ccdf6b6b18d Mon Sep 17 00:00:00 2001 From: Gildor Date: Fri, 22 Jun 2018 14:24:52 +0200 Subject: [PATCH] TheSlavePens/Ahune: Fix crash (#22070) Closes: #22069 --- .../Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp index 904310869c..7b4f50a210 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp @@ -735,6 +735,9 @@ public: void PeriodicTick(AuraEffect const* aurEff) { + if (!GetCaster()) + return; + Creature* caster = GetCaster()->ToCreature(); Player* player = GetTarget()->ToPlayer();