mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix entity.spawn
This commit is contained in:
parent
ee1608072b
commit
d25eb7f035
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ console.add_command(
|
|||
|
||||
|
||||
console.add_command(
|
||||
"entity.spawn nmae:str x:int~pos.x y:int~pos.y z:int~pos.z",
|
||||
"entity.spawn name:str x:num~pos.x y:num~pos.y z:num~pos.z",
|
||||
"Spawn entity with default parameters",
|
||||
function(args, kwargs)
|
||||
local eid = entities.spawn(args[1], {args[2], args[3], args[4]})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue