Add attached_node to rope boxes.

This commit is contained in:
orbea
2020-04-06 15:43:38 -07:00
parent f761e38794
commit 5f83e9427f

View File

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