Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Handle currency throwing error) |
m (Fix pcall) |
||
Line 319: | Line 319: | ||
-- Value |
-- Value |
||
function parse.value_func(val) |
function parse.value_func(val) |
||
local |
local status, val = pcall(currency, val) |
||
if |
if status then |
||
return val |
return val |
||
end |
end |