Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
Now trimming whitespaces for getTableForList
(More abbreviation)
(Now trimming whitespaces for getTableForList)
Line 271: Line 271:
   local hasErr = false
   local hasErr = false
   for i, name in Shared.skpairs(itemNames) do
   for i, name in Shared.skpairs(itemNames) do
     local nextItem = Items.getItem(name)
     local nextItem = Items.getItem(Shared.trim(name))
     if nextItem == nil then
     if nextItem == nil then
       errMsg = errMsg.." '"..name.."'"
       errMsg = errMsg.." '"..name.."'"