mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-24 08:23:47 +01:00
Merge pull request #18 from orbea/attached
Add attached_node to rope boxes.
This commit is contained in:
commit
4eb259678e
@ -132,7 +132,7 @@ local function register_rope_block(multiple, max_multiple, name_prefix, node_pre
|
|||||||
},
|
},
|
||||||
selection_box = {type="regular"},
|
selection_box = {type="regular"},
|
||||||
collision_box = {type="regular"},
|
collision_box = {type="regular"},
|
||||||
groups = {choppy=2, oddly_breakable_by_hand=1, rope_block = 1},
|
groups = {attached_node = 1, choppy=2, oddly_breakable_by_hand=1, rope_block = 1},
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type == "node" then
|
if pointed_thing.type == "node" then
|
||||||
|
Loading…
Reference in New Issue
Block a user