.
This commit is contained in:
parent
0fe33c2aa0
commit
33f7597e6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user