use digEmpty function in tunnel command

This commit is contained in:
2024-08-05 17:09:23 +02:00
parent be405887e2
commit 249a48807a

View File

@@ -114,7 +114,7 @@ class TurtleCtl extends CLIAppBase {
registerAsyncSubcommand("tunnel", (args) -> {
var len = args.getInt("length");
return asynPerform(Helper.combine.bind([Turtle.dig.bind(Front), Turtle.forward, Turtle.dig.bind(Up)]), len);
return asynPerform(Helper.combine.bind([Turtle.digEmpty.bind(Front), Turtle.forward, Turtle.digEmpty.bind(Up)]), len);
}, [Int("length")]);
}