mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
TheSlavePens/Ahune: Fix crash (#22070)
Closes: #22069
(cherry picked from commit eb6e240fd1)
This commit is contained in:
@@ -738,6 +738,9 @@ public:
|
||||
|
||||
void PeriodicTick(AuraEffect const* aurEff)
|
||||
{
|
||||
if (!GetCaster())
|
||||
return;
|
||||
|
||||
Creature* caster = GetCaster()->ToCreature();
|
||||
Player* player = GetTarget()->ToPlayer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user