0
0
Fork 0

Pressure plates are now attached nodes

This commit is contained in:
Wuzzy 2017-01-17 17:43:39 +01:00
parent b8eeda3df0
commit 103fd17a93
1 changed files with 2 additions and 2 deletions

View File

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