diff Main.lua @ 382:8d63f8348496

Revert change to ignore loot toasts with a source of '3'. Apparently they're sometimes useful still.
author MMOSimca <MMOSimca@gmail.com>
date Thu, 11 Dec 2014 01:33:31 -0500
parents cc4a579b26d1
children d3e8a11a21ea
line wrap: on
line diff
--- a/Main.lua	Wed Dec 10 12:47:35 2014 -0500
+++ b/Main.lua	Thu Dec 11 01:33:31 2014 -0500
@@ -1288,10 +1288,6 @@
     if not loot_type or (loot_type ~= "item" and loot_type ~= "money" and loot_type ~= "currency") then
         Debug("%s: loot_type is %s. Item link is %s, and quantity is %d.", event_name, loot_type, item_link, quantity)
         return
-    -- loot_source of 3 seems to occur only when it is being 'faked' and the item was actually in the loot window, whereas loot_source of 1 or 10 is real
-    -- Ignoring this event when the loot_source is 'faked' should drastically reduce the chances of loot data being misrecorded
-    elseif not loot_source or loot_source == 3 then
-        Debug("%s: Aborting attempts to handle loot toast because it has a loot_source of 3 or nil.", event_name)
     end
     local container_id = private.loot_toast_container_id
     local npc_id = private.raid_boss_id