comparison Main.lua @ 373:b372179ddaac

Fixed broken debug statement.
author MMOSimca <MMOSimca@gmail.com>
date Sat, 22 Nov 2014 08:02:37 -0500
parents 54d5562a6ad5
children 73fd6e568211
comparison
equal deleted inserted replaced
372:54d5562a6ad5 373:b372179ddaac
1291 end 1291 end
1292 local container_id = private.loot_toast_container_id 1292 local container_id = private.loot_toast_container_id
1293 local npc_id = private.raid_boss_id 1293 local npc_id = private.raid_boss_id
1294 1294
1295 -- Need information on the most recent args, so using this complete debug statement for now 1295 -- Need information on the most recent args, so using this complete debug statement for now
1296 Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, is_personal, loot_source) 1296 Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, (is_personal and "true") or "false", loot_source)
1297 1297
1298 -- Handle Garrison cache specially 1298 -- Handle Garrison cache specially
1299 if lootSource and last_garrison_cache_object_id and (lootSource == private.GARRISON_CACHE_LOOT_SOURCE_ID) then 1299 if lootSource and last_garrison_cache_object_id and (lootSource == private.GARRISON_CACHE_LOOT_SOURCE_ID) then
1300 -- Record location data for cache 1300 -- Record location data for cache
1301 UpdateDBEntryLocation("objects", ("OPENING:%d"):format(last_garrison_cache_object_id)) 1301 UpdateDBEntryLocation("objects", ("OPENING:%d"):format(last_garrison_cache_object_id))