use digEmpty function in tunnel command
This commit is contained in:
parent
be405887e2
commit
249a48807a
@ -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")]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user