From 5130a3ca63fa5b9a5439b066891adcda25067c72 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 18 Aug 2024 04:35:45 +0300 Subject: [PATCH] :3 im going insane --- keypadOS.lua | 2 +- src/utils.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keypadOS.lua b/keypadOS.lua index 6f15fdd..c2e1973 100644 --- a/keypadOS.lua +++ b/keypadOS.lua @@ -193,7 +193,7 @@ rawset(__BUNDLER_FILES, "utils.lua", function () return object end --- @type Monitor - local MONITOR = Cast(peripheral.find("monitor")) + local MONITOR = utils.Cast(peripheral.find("monitor")) local MONITOR_Y = 1 function utils.MonPrint(text) MONITOR.setCursorPos(1,MONITOR_Y) diff --git a/src/utils.lua b/src/utils.lua index 79a8767..18e89f8 100644 --- a/src/utils.lua +++ b/src/utils.lua @@ -10,7 +10,7 @@ end --- @type Monitor -local MONITOR = Cast(peripheral.find("monitor")) +local MONITOR = utils.Cast(peripheral.find("monitor")) local MONITOR_Y = 1 function utils.MonPrint(text) MONITOR.setCursorPos(1,MONITOR_Y)