Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block
This commit is contained in:
parent
1a0e979b0c
commit
a20637f68c
3 changed files with 7 additions and 0 deletions
|
@ -176,6 +176,10 @@ mcl_torches.register_torch("mesecon_torch_on", S("Redstone Torch"),
|
|||
{dig_immediate=3, dig_by_water=1, redstone_torch=1, mesecon_ignore_opaque_dig=1},
|
||||
mcl_sounds.node_sound_wood_defaults(),
|
||||
{
|
||||
on_destruct = function(pos, oldnode)
|
||||
local node = minetest.get_node(pos)
|
||||
torch_action_on(pos, node)
|
||||
end,
|
||||
mesecons = {
|
||||
receptor = {
|
||||
state = mesecon.state.on,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue