Misc cleanups

This commit is contained in:
hondacrx
2020-12-16 00:20:25 -05:00
parent a7a06f59f5
commit 25f2effd85
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2377,7 +2377,7 @@ namespace Game.Entities
uint attributes = result.Read<uint>(1);
var spells = _GetSpellInfo(spellId);
if (spells == null)
if (spells.Empty())
{
Log.outError(LogFilter.Sql, "Table `spell_custom_attr` has wrong spell (entry: {0}), ignored.", spellId);
continue;