test remove monitor nil check

This commit is contained in:
2026-06-25 14:38:41 -05:00
parent 3f5def2b6b
commit e202ced697

View File

@@ -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