forked from nalc/homedecor_modpack
fix wrong collision box for homedecor skylights (#45)
This commit is contained in:
parent
0403f47f86
commit
6fa1bbeb1c
|
@ -14,6 +14,7 @@ minetest.register_node(":homedecor:skylight", {
|
||||||
key = "node_sound_glass_defaults",
|
key = "node_sound_glass_defaults",
|
||||||
},
|
},
|
||||||
selection_box = homedecor.nodebox.slab_y(0.1),
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
||||||
|
collision_box = homedecor.nodebox.slab_y(0.1),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":homedecor:skylight_frosted", {
|
minetest.register_node(":homedecor:skylight_frosted", {
|
||||||
|
@ -29,6 +30,7 @@ minetest.register_node(":homedecor:skylight_frosted", {
|
||||||
key = "node_sound_glass_defaults",
|
key = "node_sound_glass_defaults",
|
||||||
},
|
},
|
||||||
selection_box = homedecor.nodebox.slab_y(0.1),
|
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
|
for s, s_loc in pairs({ ["asphalt"] = S("asphalt"), ["terracotta"] = S("terracotta"), ["wood"] = S("wood") }) do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user