diff --git a/mods/ENTITIES/mobs_mc/villager.lua b/mods/ENTITIES/mobs_mc/villager.lua index 0cd3a6c52..bb23758c5 100644 --- a/mods/ENTITIES/mobs_mc/villager.lua +++ b/mods/ENTITIES/mobs_mc/villager.lua @@ -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()