Update 'Turtle/Turtle.lua'
This commit is contained in:
parent
71f2947b7b
commit
da054100b8
@ -64,4 +64,13 @@ function Turtle:log(message)
|
|||||||
if self.verbose == true then
|
if self.verbose == true then
|
||||||
print(message)
|
print(message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Turtle:copyPositionTable(position)
|
||||||
|
self:assertPositionFormat(position)
|
||||||
|
local positionClone = {}
|
||||||
|
for i = 1, 4 do
|
||||||
|
positionClone[i] = position[i]
|
||||||
|
end
|
||||||
|
return positionClone
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user