mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix console.xml.lua
This commit is contained in:
parent
bc0d1b2f42
commit
23cfe4a4cf
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ function setup_variables()
|
|||
console.set('pos.y', y)
|
||||
console.set('pos.z', z)
|
||||
local pentity = player.get_entity(pid)
|
||||
if pentity ~= nil then
|
||||
console.set('entity.id', pentity:get_uid())
|
||||
if pentity ~= 0 then
|
||||
console.set('entity.id', pentity)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue