TheSlavePens/Ahune: Fix crash (#22070)

Closes: #22069
This commit is contained in:
Gildor authored and Aokromes committed 2018-06-23 01:43:19 +02:00
1 parent 86686996dc
commit a655d0adc4
1 file changed
+3
@@ -735,6 +735,9 @@ public:
void PeriodicTick(AuraEffect const* aurEff)
{
if (!GetCaster())
return;
Creature* caster = GetCaster()->ToCreature();
Player* player = GetTarget()->ToPlayer();