TheSlavePens/Ahune: Fix crash (#22070)

Closes: #22069
This commit is contained in:
Gildor
2018-06-22 14:24:52 +02:00
committed by Keader
parent aadd58284e
commit eb6e240fd1

View File

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