Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
Fixed adding one too many items
(Fixed displaying the wrong id)
(Fixed adding one too many items)
Line 315: Line 315:
    
    
   local rowResult = {}
   local rowResult = {}
   for i = startID, startID + rowCount, 1 do
   for i = startID, startID + rowCount - 1, 1 do
     local item = ItemData.Items[i + 1]
     local item = ItemData.Items[i + 1]
     if item == nil then break end
     if item == nil then break end