mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix bad item name override in mcl_wip
This commit is contained in:
parent
916627c6b6
commit
4bf7649027
1 changed files with 3 additions and 0 deletions
|
@ -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 })
|
||||
|
|
Loading…
Reference in a new issue