From 4bf7649027961303942d586649c8b8af15bce11f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 10 Jan 2018 18:41:07 +0100 Subject: [PATCH] Fix bad item name override in mcl_wip --- mods/MISC/mcl_wip/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/MISC/mcl_wip/init.lua b/mods/MISC/mcl_wip/init.lua index 98a2b13405..52e1c2329d 100644 --- a/mods/MISC/mcl_wip/init.lua +++ b/mods/MISC/mcl_wip/init.lua @@ -37,6 +37,9 @@ for i=1,#wip_items do end local new_description = def.description local new_groups = table.copy(def.groups) + if new_description == "" then + new_description = wip_items[i] + end new_description = new_description .. "\n"..core.colorize("#FF0000", "(WIP)") new_groups.not_in_craft_guide = 1 minetest.override_item(wip_items[i], { description = new_description, groups = new_groups })