From fb4a6b0e7b5d49d23f3d9fe27435f3e8816910d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikita=20Wi=C5=9Bniewski?= Date: Sun, 8 Sep 2024 04:26:51 +0200 Subject: [PATCH] Fix old angled heads not being converted (#4627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4627 Reviewed-by: the-real-herowl Co-authored-by: Mikita Wiśniewski Co-committed-by: Mikita Wiśniewski --- mods/ITEMS/mcl_heads/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/mcl_heads/init.lua b/mods/ITEMS/mcl_heads/init.lua index ad690b60d..373802cfa 100644 --- a/mods/ITEMS/mcl_heads/init.lua +++ b/mods/ITEMS/mcl_heads/init.lua @@ -253,6 +253,10 @@ for i=1,#old_heads_all do old_heads_angled[#old_heads_angled+1] = old_heads_all[i]..mcl_heads.FLOOR_DEGREES[j] end end +-- add the angled heads to old_heads_all +for i=1,#old_heads_angled do + old_heads_all[#old_heads_all+1] = old_heads_angled[i] +end local facedir_to_degrotate = {0, 180, 120, 60} minetest.register_lbm({