From 7fa1fb7ceaf34f51e1bbe7198e36f9135e100af8 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Wed, 8 May 2024 22:52:19 +0200 Subject: [PATCH] fix: typo --- miner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner.lua b/miner.lua index 49a26b2..044f078 100644 --- a/miner.lua +++ b/miner.lua @@ -67,7 +67,7 @@ local function isProgramFinished() return false end - local robotState = miner.robot.getSate() + local robotState = miner.robot.getState() return robotState.x == 0 and robotState.y == 0 and robotState.z == 0 end