changeset 373:b372179ddaac

Fixed broken debug statement.
author MMOSimca <MMOSimca@gmail.com>
date Sat, 22 Nov 2014 08:02:37 -0500
parents 54d5562a6ad5
children 73fd6e568211
files Main.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Sat Nov 22 07:09:12 2014 -0500
+++ b/Main.lua	Sat Nov 22 08:02:37 2014 -0500
@@ -1293,7 +1293,7 @@
     local npc_id = private.raid_boss_id
 
     -- Need information on the most recent args, so using this complete debug statement for now
-    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)
+    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)
 
     -- Handle Garrison cache specially
     if lootSource and last_garrison_cache_object_id and (lootSource == private.GARRISON_CACHE_LOOT_SOURCE_ID) then