From c724e848f75b347be91f89552489471e506195fa Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Sat, 27 Jun 2026 18:02:05 -0500 Subject: [PATCH] more debug statements for troubleshooting --- main.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 1c62c0e..c44a24b 100644 --- a/main.lua +++ b/main.lua @@ -486,7 +486,11 @@ function PollSensors() end function PollVelocity() - local velSensors = peripheral.find("velocity_sensor") + local velSensors = { peripheral.find("velocity_sensor") } + if (Config.Debug) then + print("DEBUG: Found "..#velSensors.." velocity sensors.") + print("DEBUG: Velocity sensors: "..tableToString(velSensors)) + end -- Velocity Sensors VelocityVectors = {}