mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-05 09:40:22 +01:00
Fix message
This commit is contained in:
parent
c570fa2337
commit
16ceea1aaf
6
init.lua
6
init.lua
|
@ -724,11 +724,11 @@ local function get_itemdef_fs(fs, L)
|
|||
typestr = ESC(S("Tool"))
|
||||
end
|
||||
|
||||
local groupstr = ""
|
||||
local groupstr
|
||||
for k, v in pairs(def.groups or {}) do
|
||||
groupstr = groupstr .. fmt("%s(%d), ", pretty_wrap(k, 13), v)
|
||||
groupstr = (groupstr or "") .. fmt("%s(%d), ", pretty_wrap(k, 13), v)
|
||||
end
|
||||
groupstr = sub(groupstr, 1, -3)
|
||||
groupstr = groupstr and sub(groupstr, 1, -3)
|
||||
|
||||
local specs = {
|
||||
ESC(S("Name")),
|
||||
|
|
Loading…
Reference in New Issue
Block a user