From 6fa1bbeb1cf5ff9d1fd8262fe26d899fd38d0a90 Mon Sep 17 00:00:00 2001 From: Niklp <89982526+Niklp09@users.noreply.github.com> Date: Fri, 19 Aug 2022 20:15:47 +0200 Subject: [PATCH] fix wrong collision box for homedecor skylights (#45) --- homedecor_roofing/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homedecor_roofing/init.lua b/homedecor_roofing/init.lua index 830f9c53..9c0d1a56 100644 --- a/homedecor_roofing/init.lua +++ b/homedecor_roofing/init.lua @@ -14,6 +14,7 @@ minetest.register_node(":homedecor:skylight", { key = "node_sound_glass_defaults", }, selection_box = homedecor.nodebox.slab_y(0.1), + collision_box = homedecor.nodebox.slab_y(0.1), }) minetest.register_node(":homedecor:skylight_frosted", { @@ -29,6 +30,7 @@ minetest.register_node(":homedecor:skylight_frosted", { key = "node_sound_glass_defaults", }, selection_box = homedecor.nodebox.slab_y(0.1), + collision_box = homedecor.nodebox.slab_y(0.1), }) for s, s_loc in pairs({ ["asphalt"] = S("asphalt"), ["terracotta"] = S("terracotta"), ["wood"] = S("wood") }) do