Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(aliases attempt #3) |
(aliases attempt #4) |
||
Line 52: | Line 52: | ||
if #t == 1 then | if #t == 1 then | ||
spr = Sprites.minecraft:Item(item) | spr = Sprites.minecraft:Item(item) | ||
if aliases then | if aliases[item] then | ||
spr.__settings.name = aliases[item].title | spr.__settings.name = aliases[item].title | ||
end | end | ||
Line 60: | Line 60: | ||
if spr then | if spr then | ||
spr = spr:Item(mw.text.trim(t[2])) | spr = spr:Item(mw.text.trim(t[2])) | ||
if aliases then | if aliases[item] then | ||
spr.__settings.name = aliases[item].title | spr.__settings.name = aliases[item].title | ||
end | end |
edits