From f4445749e6e528dee81a9090d6abfa3cfc0498f7 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 24 Dec 2020 11:23:16 +0500 Subject: [PATCH] fix: :pencil2: add missing plugin name --- lib/plugins/sleeper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/sleeper.js b/lib/plugins/sleeper.js index b544e1b..93d2496 100644 --- a/lib/plugins/sleeper.js +++ b/lib/plugins/sleeper.js @@ -27,7 +27,7 @@ function sleep(quiet) { if (bed && bedstatus == "") { bot.lookAt(bed.position) bot.waitForChunksToLoad(() => { - cfg.plugins.moveNear(bed.position) + cfg.plugins.mover.moveNear(bed.position) bot.sleep(bed, (err) => { if (err) { !quiet && bot.chat(`can't sleep: ${err.message}`)