From f8c60b5f7588b49cc0e78bdf70b99e7d239dcb15 Mon Sep 17 00:00:00 2001 From: Dieter44 <55900078+Dieter44@users.noreply.github.com> Date: Sat, 20 Nov 2021 14:52:51 +0100 Subject: [PATCH] =?UTF-8?q?ITEMS/mcl=5Fanvils:=20fix=20renaming=20items=20?= =?UTF-8?q?w/o=20desc=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mods/HELP/tt/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/HELP/tt/init.lua b/mods/HELP/tt/init.lua index 819bf7b81..f2b83b612 100644 --- a/mods/HELP/tt/init.lua +++ b/mods/HELP/tt/init.lua @@ -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