1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 08:00:18 +01:00

fix wrong collision box for homedecor skylights (#45)

This commit is contained in:
Niklp 2022-08-19 20:15:47 +02:00 committed by GitHub
parent 0403f47f86
commit 6fa1bbeb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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