mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[NPC Spells] Fix an issue where procs wouldn't fire if no spell entries in list (#4344)
This commit is contained in:
parent
68f40c9255
commit
421857026d
@ -2894,10 +2894,6 @@ DBnpcspells_Struct *ZoneDatabase::GetNPCSpells(uint32 npc_spells_id)
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (entries.empty()) {
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto &e: entries) {
|
for (auto &e: entries) {
|
||||||
DBnpcspells_entries_Struct se{};
|
DBnpcspells_entries_Struct se{};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user