diff Comments.lua @ 329:84817627cb22 WoD

Many changes for WoD, including support for Itembonuses, the new GUID format, and LOOT_READY.
author MMOSimca <MMOSimca@gmail.com>
date Wed, 06 Aug 2014 04:39:26 -0400
parents 7e8e2297614a
children 2ca6db4e2296
line wrap: on
line diff
--- a/Comments.lua	Wed Aug 06 04:31:49 2014 -0400
+++ b/Comments.lua	Wed Aug 06 04:39:26 2014 -0400
@@ -115,7 +115,7 @@
         WDP:Printf("Unable to determine unit from '%s'", unit_id)
         return
     end
-    local type_name = private.UNIT_TYPE_NAMES[unit_type + 1]
+    local type_name = private.UNIT_TYPE_NAMES[unit_type]
     local unit_name = is_command and _G.UnitName(unit_id) or comment_units[unit_id].name
 
     table.wipe(comment_units)