Fix crash bug

This commit is contained in:
ancientmarinerdev 2023-01-01 03:19:45 +00:00 committed by Gitea
parent 2527479401
commit e4db91d35c

View file

@ -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()