mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-04 08:43:45 +01:00
ITEMS/mcl_anvils: fix renaming items w/o desc…
parent
bcf302ceb0
commit
f8c60b5f75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user