mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-09 01:03:50 +01:00
Fix crash bug
This commit is contained in:
parent
2527479401
commit
e4db91d35c
@ -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 New Issue
Block a user