diff Main.lua @ 321:10d45fef6ae1

Added a Debug statement to watch for failures in HandleItemUse.
author James D. Callahan III <jcallahan@curse.com>
date Mon, 14 Oct 2013 14:24:19 -0500
parents 4f2d5a082b6d
children fdf96c61d1b7
line wrap: on
line diff
--- a/Main.lua	Mon Oct 14 14:19:54 2013 -0500
+++ b/Main.lua	Mon Oct 14 14:24:19 2013 -0500
@@ -571,6 +571,7 @@
         local current_line = _G["WDPDatamineTTTextLeft" .. line_index]
 
         if not current_line then
+            Debug("HandleItemUse: Item with ID %d and link %s did not have a tooltip that contained the string %s.", item_id, item_link, _G.ITEM_OPENABLE)
             break
         end