fix: ✏️ add missing plugin name

This commit is contained in:
jay 2020-12-24 11:23:16 +05:00
parent a7ccb08d43
commit f4445749e6

View File

@ -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}`)