0
0
Fork 0

Fix bad item name override in mcl_wip

This commit is contained in:
Wuzzy 2018-01-10 18:41:07 +01:00
parent 916627c6b6
commit 4bf7649027
1 changed files with 3 additions and 0 deletions

View File

@ -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 })