mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
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",
|
||||
},
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user