Mercurial > wow > wowdb-profiler
comparison Main.lua @ 209:e35d2bf8f4d6
Removed Debug call since it's no longer required and wasn't properly checking for nil.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Mon, 17 Dec 2012 10:34:20 -0600 |
parents | b51fc4675550 |
children | 83ff61c8ba46 |
comparison
equal
deleted
inserted
replaced
208:68787904cda9 | 209:e35d2bf8f4d6 |
---|---|
990 end | 990 end |
991 | 991 |
992 | 992 |
993 function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity) | 993 function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity) |
994 if loot_type ~= "item" then | 994 if loot_type ~= "item" then |
995 Debug(("%s: loot_type is '%s'"):format(event_name, loot_type)) | |
996 return | 995 return |
997 end | 996 end |
998 local npc = NPCEntry(private.raid_finder_boss_id or private.world_boss_id) | 997 local npc = NPCEntry(private.raid_finder_boss_id or private.world_boss_id) |
999 private.raid_finder_boss_id = nil | 998 private.raid_finder_boss_id = nil |
1000 private.world_boss_id = nil | 999 private.world_boss_id = nil |