summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorJP Guerrero <jeanpatrick.guerrero@gmail.com>2016-12-11 20:20:58 +0100
committerJP Guerrero <jeanpatrick.guerrero@gmail.com>2016-12-11 20:21:03 +0100
commit3f832eac3df9302dee73cef39caed4c602a028a6 (patch)
treef9032aeb26937dfc4bb5d46c1eaa795d25dc21c2 /init.lua
parent5dd1d08943c34e84c01aa845553516f03ddc67c0 (diff)
Show empty button when no matching item created...
from ghost group is found
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index abb4f08..e37a727 100644
--- a/init.lua
+++ b/init.lua
@@ -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)