TheSlavePens/Ahune: Fix crash (#22070)

Closes: #22069
(cherry picked from commit eb6e240fd1508ff62055e45c97a4534903280e66)
This commit is contained in:
Gildor
2021-09-29 20:55:23 +02:00
committed by Shauren
parent 082194125f
commit b3f3dbc663
@@ -738,6 +738,9 @@ public:
void PeriodicTick(AuraEffect const* aurEff)
{
if (!GetCaster())
return;
Creature* caster = GetCaster()->ToCreature();
Player* player = GetTarget()->ToPlayer();