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
1 changed files with 1 additions and 1 deletions

View File

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