aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ffcd188c82c..25b8832901e 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
@@ -737,6 +737,9 @@ public:
void PeriodicTick(AuraEffect const* aurEff)
{
+ if (!GetCaster())
+ return;
+
Creature* caster = GetCaster()->ToCreature();
Player* player = GetTarget()->ToPlayer();