mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
test command
This commit is contained in:
parent
c2ea0d5326
commit
d59061e5b1
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue