Module:ItemTables: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
m Empty String check (this broke weapon damage table) |
||
| Line 15: | Line 15: | ||
for _, v in pairs(data) do | for _, v in pairs(data) do | ||
for _, value in ipairs(property) do | for _, value in ipairs(property) do | ||
if (v[value] ~= nil and v["IsDisabled"] == false and v["Name"] ~= nil and v[value] ~= "0" and v[value] ~= "0m") then | if (v[value] ~= nil and v["IsDisabled"] == false and v["Name"] ~= nil and v[value] ~= "0" and v[value] ~= "0m" and v[value] ~= "") then | ||
table.insert(similarItems, v) | table.insert(similarItems, v) | ||
end | end | ||