mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix rail's selection box and tweak the logic that computes pointedthing.node_abovesurface -- you no longer can place torches above each other, or do similar placement with other nodes with non-full selection box.
This commit is contained in:
parent
6bf4931fc2
commit
34eabf4df0
2 changed files with 23 additions and 47 deletions
|
@ -1296,7 +1296,7 @@ minetest.register_node("default:rail", {
|
|||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
--fixed = <default>
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
material = minetest.digprop_dirtlike(0.75),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue