mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-08 13:21:08 +00:00
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash (#8322)
This commit is contained in:
@@ -2146,7 +2146,9 @@ public:
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
if (eventInfo.GetSpellInfo())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GetFirstSchoolInMask(eventInfo.GetSchoolMask()) == SPELL_SCHOOL_NORMAL)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user