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