mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Fix head duplicates
This commit is contained in:
parent
37e943ae91
commit
267f8c88a3
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ if minetest.get_modpath("default") then
|
||||||
end
|
end
|
||||||
|
|
||||||
local function addhead(mobname, desc, longdesc)
|
local function addhead(mobname, desc, longdesc)
|
||||||
|
if not mobs_mc.is_item_variable_overridden("head_"..mobname) then
|
||||||
|
return
|
||||||
|
end
|
||||||
minetest.register_node("mobs_mc:head_"..mobname, {
|
minetest.register_node("mobs_mc:head_"..mobname, {
|
||||||
description = desc,
|
description = desc,
|
||||||
_doc_items_longdesc = longdesc,
|
_doc_items_longdesc = longdesc,
|
||||||
|
|
Loading…
Reference in a new issue