Mercurial > wow > wowdb-profiler
changeset 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 | 319d5f3ff037 |
children | d3fac32847e6 |
files | Main.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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