From 267f8c88a33c46e278b4237f855398a03f4e0181 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 6 Jul 2017 00:47:13 +0200 Subject: [PATCH] Fix head duplicates --- mods/ENTITIES/mobs_mc/4_heads.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ENTITIES/mobs_mc/4_heads.lua b/mods/ENTITIES/mobs_mc/4_heads.lua index 277a32d293..80c9719881 100644 --- a/mods/ENTITIES/mobs_mc/4_heads.lua +++ b/mods/ENTITIES/mobs_mc/4_heads.lua @@ -15,6 +15,9 @@ if minetest.get_modpath("default") then end 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, { description = desc, _doc_items_longdesc = longdesc,