17,101
edits
(_getSpecialAttackTable: Exclude Golbin raid items) |
(Use printError function) |
||
Line 241: | Line 241: | ||
table.sort(validEffectNames, function(a, b) return a < b end) | table.sort(validEffectNames, function(a, b) return a < b end) | ||
return ' | return Shared.printError('Invalid effect name "' .. effectName .. '", must be one of: ' .. table.concat(validEffectNames, ', ')) | ||
end | end | ||
end | end |