mirror of
https://github.com/kepler155c/opus
synced 2025-10-21 18:57:41 +00:00
cleanup
This commit is contained in:
@@ -196,8 +196,8 @@ local function pathTo(dest, options)
|
||||
|
||||
dest = selectDestination(dests, box, map, dim)
|
||||
if not dest then
|
||||
error('failed to reach destination')
|
||||
-- return false, 'failed to reach destination'
|
||||
-- error('failed to reach destination')
|
||||
return false, 'failed to reach destination'
|
||||
end
|
||||
if turtle.point.x == dest.x and turtle.point.z == dest.z and turtle.point.y == dest.y then
|
||||
break
|
||||
|
Reference in New Issue
Block a user