forked from minetest/minetest_game
Make rails selectable.
Rails weren't selectable, and couldn't be removed from a map asides from using worldedit (or maybe sand)
This commit is contained in:
parent
274f280e10
commit
537344bc62
|
@ -939,7 +939,8 @@ minetest.register_node("default:rail", {
|
|||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
--fixed = <default>
|
||||
-- but how to specify the dimensions for curved and sideways rails?
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {bendy=2,snappy=1,dig_immediate=2},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user