From 33f7597e6a327a13065d5fa86aea4bfca2bb155a Mon Sep 17 00:00:00 2001 From: brulijam Date: Wed, 19 Jun 2024 21:38:29 +0200 Subject: [PATCH] . --- src/brulijam/lib/tutel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/brulijam/lib/tutel.lua b/src/brulijam/lib/tutel.lua index d323cef..b8f5e88 100644 --- a/src/brulijam/lib/tutel.lua +++ b/src/brulijam/lib/tutel.lua @@ -21,7 +21,7 @@ end --https://www.youtube.com/watch?v=bZe5J8SVCYQ local function forward(x, y, z, rotation) if turtle.forward() then - if roation == 0 then + if rotation == 0 then z = z + 1 elseif rotation == 1 then x = x - 1 @@ -36,7 +36,7 @@ end local function back(x, y, z, rotation) if turtle.back() then - if roation == 0 then + if rotation == 0 then z = z - 1 elseif rotation == 1 then x = x + 1