take/add/place item bugfixes

This commit is contained in:
Joachim Stolberg 2019-10-19 22:57:03 +02:00
parent a7c8d012bf
commit 98d20f081f

View File

@ -26,7 +26,7 @@ local bot_inv_take_item = signs_bot.bot_inv_take_item
local function bot_inv_put_item(pos, slot, items)
local leftover = signs_bot.bot_inv_put_item(pos, slot, items)
return leftover:get_count() > 0
return leftover:get_count() == 0
end
local tValidLevels = {["-1"] = -1, ["0"] = 0, ["+1"] = 1}