Module:Items/UseTables: Difference between revisions

Fixed formatting when calling not as a list
(Added Gloves of Silence to the list of things that can be used for Thieving)
(Fixed formatting when calling not as a list)
Line 240: Line 240:
   end
   end


   local result = table.concat(useArray,'\r\n')
   local result = asList and table.concat(useArray,'\r\n') or table.concat(useArray, '<br/>')
   if addCategories then result = result..table.concat(categoryArray, '') end
   if addCategories then result = result..table.concat(categoryArray, '') end
   return result
   return result