mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
Fix crash in Unit::HandleProcTriggerSpell (Actually in Object::GetUInt32Value when pVictim is null).
Fixes issue #2458. --HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -8278,8 +8278,8 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
||||
// Unyielding Knights (item exploit 29108\29109)
|
||||
case 38164:
|
||||
{
|
||||
if (pVictim->GetEntry() != 19457) // Proc only if you target is Grillok
|
||||
return false;
|
||||
if (!pVictim || pVictim->GetEntry() != 19457) // Proc only if your target is Grillok
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
// Deflection
|
||||
|
||||
Reference in New Issue
Block a user