compatibility improvements

This commit is contained in:
kepler155c
2017-10-12 17:56:14 -04:00
parent 5232b5a115
commit 3734afed92
3 changed files with 145 additions and 142 deletions

View File

@@ -554,6 +554,7 @@ if not Util.getOptions(options, args) then
return
end
-- TODO: this won't work - need to Util.merge file into mining
mining.depth = options.depth.value
mining.chunks = options.chunks.value
@@ -619,7 +620,7 @@ turtle.run(function()
unload()
status('mining')
local s, m = pcall(function() main() end)
local s, m = pcall(main)
if not s and m then
_G.printError(m)
end