# HG changeset patch # User MMOSimca # Date 1413247253 14400 # Node ID e13723c37ca47c27f7360bf2ec34462edac2f4a2 # Parent 6fc3f3e1be54fd14b1432490f5a94f3619891a2b Removed debug statements for Blizzard functions that fail so often that they cause significant performance concerns. diff -r 6fc3f3e1be54 -r e13723c37ca4 Main.lua --- a/Main.lua Fri Oct 10 10:41:39 2014 -0400 +++ b/Main.lua Mon Oct 13 20:40:53 2014 -0400 @@ -2135,11 +2135,7 @@ if not item_id then local item_name, item_link = DatamineTT:GetItem() item_id = ItemLinkToID(item_link) - if item_id then - Debug("%s: GetMerchantItemLink() still ocassionally fails, apparently. Failed item's ID - %s", event_name, item_id) - else - Debug("%s: GetMerchantItemLink() still ocassionally fails, apparently. Failed item's ID - nil", event_name) - end + -- GetMerchantItemLink() still ocassionally fails as of Patch 6.0.2. It fails so badly that debug functions cause considerable slowdown. end if item_id and item_id > 0 then