Compare commits

...

1 Commits

Author SHA1 Message Date
Dieter44 f79cdba7f5 ITEMS/mcl_anvils: fix renaming items w/o desc… 2021-11-20 15:03:31 +01:00
1 changed files with 1 additions and 3 deletions

View File

@ -76,8 +76,6 @@ function tt.reload_itemstack_description(itemstack)
orig_desc = minetest.colorize(tt.NAME_COLOR, meta:get_string("name"))
end
local desc = apply_snippets(orig_desc, itemstring, toolcaps or def.tool_capabilities, itemstack)
if desc ~= orig_desc then
meta:set_string("description", desc)
end
meta:set_string("description", desc)
end
end