mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-01 22:43:43 +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"))
|
typestr = ESC(S("Tool"))
|
||||||
end
|
end
|
||||||
|
|
||||||
local groupstr = ""
|
local groupstr
|
||||||
for k, v in pairs(def.groups or {}) do
|
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
|
end
|
||||||
groupstr = sub(groupstr, 1, -3)
|
groupstr = groupstr and sub(groupstr, 1, -3)
|
||||||
|
|
||||||
local specs = {
|
local specs = {
|
||||||
ESC(S("Name")),
|
ESC(S("Name")),
|
||||||
|
Loading…
Reference in New Issue
Block a user