Show empty button when no matching item created...

from ghost group is found
This commit is contained in:
JP Guerrero 2016-12-11 20:20:58 +01:00
parent 5dd1d08943
commit 3f832eac3d

@ -24,7 +24,7 @@ function craftguide:group_to_item(item)
end end
end end
end end
return item return item:sub(1,6) == "group:" and "" or item
end end
local function extract_groups(str) local function extract_groups(str)