2,875
edits
No edit summary |
No edit summary |
||
Line 588: | Line 588: | ||
end | end | ||
function p.getPurchaseDescription( | function p.getPurchaseDescription(frame) | ||
local purchase = p.getPurchase( | local itemName = frame.args ~= nil and frame.args[1] or frame | ||
local purchase = p.getPurchase(itemName) | |||
if purchase == nil then | if purchase == nil then | ||
return '' | return '' |
edits