From 3a77a97e2d8020061f2be2bd2949d9155cd07269 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Aug 2022 12:36:22 -0500 Subject: [PATCH] moved identetion of debug_head variable --- mods/ENTITIES/mcl_mobs/api/mob_functions/head_logic.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/head_logic.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/head_logic.lua index 23a890e4e..cd6526b6f 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/head_logic.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/head_logic.lua @@ -5,7 +5,8 @@ local vector = vector local degrees = function(yaw) return yaw*180.0/math.pi end - local debug_head = minetest.settings:get_bool("mcl_debug_head_code", false) + +local debug_head = minetest.settings:get_bool("mcl_debug_head_code", false) mobs.do_head_logic = function(self, dtime, player) if not self.has_head == true then return end local player = player or minetest.get_player_by_name("singleplayer")