From 7c0536d0d5f2abcbd4ada011e507c47733bc11a2 Mon Sep 17 00:00:00 2001 From: minecartchris Date: Mon, 5 Jan 2026 19:39:38 -0600 Subject: [PATCH] Update prog2/ATM.lua --- prog2/ATM.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/prog2/ATM.lua b/prog2/ATM.lua index 50005b8..e95d62a 100644 --- a/prog2/ATM.lua +++ b/prog2/ATM.lua @@ -32,11 +32,11 @@ local answer = io.read() --local id = disk.getID("bottom") if answer == "d" or answer == "deposit" then local item = turtle.getItemDetail() - --if item.name ~= "minecraft:iron_ingot" or item.name == nil then - -- print("Please insert iron ingots!") - -- sleep(1) - -- shell.run("reboot") - --end + if item.name ~= "minecraft:iron_ingot" or item.name == nil then + print("Please insert iron ingots!") + sleep(1) + shell.run("reboot") + end local ironCount = turtle.getItemCount() --local card = fs.open("/disk/money.lua", "r")