plethora app fixes

This commit is contained in:
kepler155c
2018-10-17 01:15:04 -04:00
parent 93b1635de2
commit e8b69254fd
2 changed files with 5 additions and 3 deletions

View File

@@ -64,11 +64,11 @@ local function harvest(blocks)
elseif b.name == 'minecraft:chest' then
local summed = turtle.getSummedInventory()
for _,v in pairs(summed) do
if v.count > 32 then
if v.count > 48 then
if turtle._goto(Point.above(b)) then
for k,v2 in pairs(summed) do
if v2.count > 32 then
turtle.dropDown(k, v2.count - 32)
if v2.count > 16 then
turtle.dropDown(k, v2.count - 16)
end
end
end

View File

@@ -24,6 +24,8 @@ local peripheral = _G.peripheral
local read = _G.read
local turtle = _G.turtle
UI:configure('scanningMiner', ...)
local args = { ... }
local options = {
chunks = { arg = 'c', type = 'number', value = -1,