From ab987319cb4aa8edfb10174c1516f8ff777a3bdd Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Thu, 25 Jun 2026 14:39:51 -0500 Subject: [PATCH] re-institute monitor nil check --- main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.lua b/main.lua index abe2b74..e17f160 100644 --- a/main.lua +++ b/main.lua @@ -64,10 +64,10 @@ function identifyMonitor(monitorType) -- Find all available monitors local availableMonitors = peripheral.find("monitor") - --if not availableMonitors or #availableMonitors == 0 then - -- print("No monitors found on the network.") - -- return nil - --end + if not availableMonitors or #availableMonitors == 0 then + print("No monitors found on the network.") + return nil + end print("Available monitors:") for i, name in ipairs(availableMonitors) do