mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
add 'entity.despawn' command
This commit is contained in:
parent
c9958c9718
commit
41a22938d6
8 changed files with 41 additions and 5 deletions
|
|
@ -11,6 +11,10 @@ function setup_variables()
|
|||
if pentity ~= 0 then
|
||||
console.set('entity.id', pentity)
|
||||
end
|
||||
local sentity = player.get_selected_entity(pid)
|
||||
if sentity ~= nil then
|
||||
console.set('entity.selected', sentity)
|
||||
end
|
||||
end
|
||||
|
||||
function on_history_up()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue