Module:InventorySlot: Difference between revisions
Jump to navigation
Jump to search
(Ignore my stupidity) |
(fingers crossed) |
||
Line 34: | Line 34: | ||
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 |