Fix crash bug

This commit is contained in:
ancientmarinerdev 2023-01-01 03:19:45 +00:00 committed by Gitea
parent 2527479401
commit e4db91d35c
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ end
local function take_bed (entity)
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()