aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
index 2560dfb0e99..60bb51ff7e9 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
@@ -738,6 +738,9 @@ public:
void PeriodicTick(AuraEffect const* aurEff)
{
+ if (!GetCaster())
+ return;
+
Creature* caster = GetCaster()->ToCreature();
Player* player = GetTarget()->ToPlayer();