TheSlavePens/Ahune: Fix crash (#22070)

Closes: #22069
(cherry picked from commit eb6e240fd1)
This commit is contained in:
Gildor
2018-06-22 14:24:52 +02:00
committed by Shauren
parent 082194125f
commit b3f3dbc663

View File

@@ -738,6 +738,9 @@ public:
void PeriodicTick(AuraEffect const* aurEff)
{
if (!GetCaster())
return;
Creature* caster = GetCaster()->ToCreature();
Player* player = GetTarget()->ToPlayer();