Mercurial > wow > wowdb-profiler
diff Main.lua @ 241:750195edac78 5.2.0-4
Fixed error in UNIT_DIED processing.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Sat, 09 Mar 2013 19:39:22 -0600 |
parents | e9a81d9a6cc5 |
children | d7ed64be54b8 |
line wrap: on
line diff
--- a/Main.lua Fri Mar 08 09:05:07 2013 -0600 +++ b/Main.lua Sat Mar 09 19:39:22 2013 -0600 @@ -1228,7 +1228,7 @@ local unit_type, unit_idnum = ParseGUID(dest_guid) if not unit_idnum or not UnitTypeIsNPC(unit_type) then - Debug(("%s: %s is not an NPC, or has no ID."):format(sub_event, dest_name)) + Debug(("%s: %s is not an NPC, or has no ID."):format(sub_event, dest_name or _G.UNKNOWN)) ClearKilledNPC() ClearKilledBossID() private.harvesting = nil