mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 12:33:43 +01:00
Show empty button when no matching item created...
from ghost group is found
This commit is contained in:
parent
5dd1d08943
commit
3f832eac3d
2
init.lua
2
init.lua
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user