Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154
edits
(Ignore my stupidity) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
local Sprites = { | local Sprites = { | ||
minecraft = sprite:new("inventory"), | minecraft = sprite:new("inventory"), | ||
gm4 = sprite:new("gm4") | gm4 = sprite:new("gm4"), | ||
effect = sprite:new("effect") | |||
} | } | ||
Line 34: | Line 35: | ||
function UISlot.Decode(item) | function UISlot.Decode(item) | ||
if not(item) then return nil end | |||
item = mw.text.trim(item) | |||
if item == "" then item = nil end | if item == "" then item = nil end | ||
if item then | if item then |
edits