Module:Sprite: Difference between revisions

m
Reverted edits by BluePsychoRanger (talk) to last revision by Epyon
m (true check)
m (Reverted edits by BluePsychoRanger (talk) to last revision by Epyon)
Tag: Rollback
Line 162: Line 162:
end
end
if aliases[item].enchanted == 'true' then
if aliases[item].enchanted then
self.__settings.enchanted = true
self.__settings.enchanted = aliases[item].enchanted
end
end


Line 291: Line 291:
end
end


if self.__settings.enchanted == true then
if self.__settings.enchanted == "true" then
sprite:addClass("enchanted")
sprite:addClass("enchanted")
end
end
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits