From 6dcb436e55cc2433f3b3a5917c78873465018838 Mon Sep 17 00:00:00 2001 From: mint Date: Thu, 6 May 2021 00:34:40 -0400 Subject: [PATCH] whoops wrong function --- neodj.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neodj.lua b/neodj.lua index 7712159..2add82b 100644 --- a/neodj.lua +++ b/neodj.lua @@ -1,8 +1,8 @@ accentColor = colors.gray buttonColor = colors.lightGray backgroundColor = colors.black -drive = peripheral.getType("disk_drive") -if drive == 0 then +drive = peripheral.find("disk_drive") +if drive == nil then print "No drive" end