Module:Crafting: Difference between revisions

Jump to navigation Jump to search
m (remove the debug tool)
m (How about this)
Line 120: Line 120:


local enchanted = args['enchanted'] or args['Enchanted']
local enchanted = args['enchanted'] or args['Enchanted']
if enchanted and #enchanted ~= 0 then
if enchanted == 'true' then
spriteDiv:addClass("enchanted")
spriteDiv:addClass("enchanted")
end
end