From b0f714f944a94e613beae01885ba11b7f0a5802b Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 5 Feb 2021 20:23:05 -0600 Subject: [PATCH] Fix string commands on pistons being silent --- piston.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piston.lua b/piston.lua index 299982e..f39bf5d 100644 --- a/piston.lua +++ b/piston.lua @@ -93,7 +93,7 @@ minetest.register_node("digistuff:piston", { local setchan = meta:get_string("channel") if channel ~= setchan then return end if msg == "extend" then - extend(pos,node,16) + extend(pos,node,16,"digilines") elseif type(msg) == "table" and msg.action == "extend" then local max = 16 if type(msg.max) == "number" then @@ -169,9 +169,9 @@ minetest.register_node("digistuff:piston_ext", { local setchan = meta:get_string("channel") if channel ~= setchan then return end if msg == "retract" then - retract(pos,node) + retract(pos,node,nil,"digilines") elseif msg == "retract_sticky" then - retract(pos,node,16) + retract(pos,node,16,"digilines") elseif type(msg) == "table" and msg.action == "retract" then local max = 16 if type(msg.max) == "number" then