Module:Abilities: Difference between revisionsGive feedback
Add check for isdisabled |
Tag: Undo |
||
| Line 24: | Line 24: | ||
-- If not found by key, loop through and search by the "Name" property as a fallback | -- If not found by key, loop through and search by the "Name" property as a fallback | ||
for _, v in pairs(raw_ability_data) do | for _, v in pairs(raw_ability_data) do | ||
if v | if (v["Name"] == identifier) then | ||
return v | return v | ||
end | end | ||