test command
This commit is contained in:
parent
c2ea0d5326
commit
d59061e5b1
@ -276,6 +276,13 @@ function table.tostring(t)
|
|||||||
return s..']'
|
return s..']'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
console.add_command(
|
||||||
|
"tp obj:sel=$obj.id x:num~pos.x y:num~pos.y z:num~pos.z",
|
||||||
|
function (args, kwargs)
|
||||||
|
player.set_pos(unpack(args))
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
-- Deprecated functions
|
-- Deprecated functions
|
||||||
block_index = block.index
|
block_index = block.index
|
||||||
block_name = block.name
|
block_name = block.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user