From 421857026d78c60c0b4b4c31fc820cdfefdd5e89 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sun, 26 May 2024 13:53:30 -0500 Subject: [PATCH] [NPC Spells] Fix an issue where procs wouldn't fire if no spell entries in list (#4344) --- zone/mob_ai.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index 13df61681..083d2284d 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -2894,10 +2894,6 @@ DBnpcspells_Struct *ZoneDatabase::GetNPCSpells(uint32 npc_spells_id) ) ); - if (entries.empty()) { - return nullptr; - } - for (auto &e: entries) { DBnpcspells_entries_Struct se{};