[NPC Spells] Fix an issue where procs wouldn't fire if no spell entries in list (#4344)

This commit is contained in:
Chris Miles
2024-05-26 13:53:30 -05:00
committed by GitHub
parent 68f40c9255
commit 421857026d
-4
View File
@@ -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{};