mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix crash bug
This commit is contained in:
parent
2527479401
commit
e4db91d35c
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ end
|
||||||
|
|
||||||
local function take_bed (entity)
|
local function take_bed (entity)
|
||||||
if not entity then return end
|
if not entity then return end
|
||||||
if not self:ready_to_path() then return end
|
if not entity:ready_to_path() then return end
|
||||||
|
|
||||||
local p = entity.object:get_pos()
|
local p = entity.object:get_pos()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue