mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Pressure plates are now attached nodes
This commit is contained in:
parent
b8eeda3df0
commit
103fd17a93
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
paramtype = "light",
|
||||
selection_box = pp_box_off,
|
||||
node_box = pp_box_off,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, attached_node = 1},
|
||||
is_ground_content = false,
|
||||
description = description,
|
||||
pressureplate = ppspec,
|
||||
|
@ -82,7 +82,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
paramtype = "light",
|
||||
selection_box = pp_box_on,
|
||||
node_box = pp_box_on,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, not_in_creative_inventory = 1},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, attached_node = 1, not_in_creative_inventory = 1},
|
||||
is_ground_content = false,
|
||||
drop = offstate,
|
||||
pressureplate = ppspec,
|
||||
|
|
Loading…
Reference in a new issue