diff --git a/coal-crafter.lua b/coal-crafter.lua index f5465a8..0267bb7 100644 --- a/coal-crafter.lua +++ b/coal-crafter.lua @@ -80,7 +80,7 @@ local function main() bufferInventory = turtleUtils.waitForInventory('front', WAIT_INVENTORY_TIME) local coalEssenceSlot = waitForCoalEssence(storageInventory) - local pushOk = storageInventory.pushItems(peripheral.getName(bufferInventory), coalEssenceSlot) + local pushOk = storageInventory.pushItems(peripheral.getName(bufferInventory), coalEssenceSlot, MIN_ESSENCE_NEEDED) if not pushOk then error('cannot pushItems from storage to buffer')