4,951
edits
Falterfire (talk | contribs) (Change to format to hopefully reduce memory load) |
Falterfire (talk | contribs) (Fixed off-by-one issue) |
||
Line 316: | Line 316: | ||
local rowResult = {} | local rowResult = {} | ||
for i = startID, startID + rowCount, 1 do | for i = startID, startID + rowCount, 1 do | ||
local item = ItemData.Items[i] | local item = ItemData.Items[i + 1] | ||
if item == nil then break end | if item == nil then break end | ||
local rowTxt = '|-\r\n|'..Icons.Icon({item.name, type='item', size='50', notext=true})..'||[['..item.name..']]' | local rowTxt = '|-\r\n|'..Icons.Icon({item.name, type='item', size='50', notext=true})..'||[['..item.name..']]' |