# HG changeset patch # User MMOSimca # Date 1418279611 18000 # Node ID 8d63f8348496fbd9d01e10db3d99dadae5ab47a8 # Parent cc4a579b26d13713b46d6f88bf459087887da92e Revert change to ignore loot toasts with a source of '3'. Apparently they're sometimes useful still. diff -r cc4a579b26d1 -r 8d63f8348496 Main.lua --- 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