fix: ✏️ add missing plugin name
This commit is contained in:
parent
a7ccb08d43
commit
f4445749e6
|
@ -27,7 +27,7 @@ function sleep(quiet) {
|
||||||
if (bed && bedstatus == "") {
|
if (bed && bedstatus == "") {
|
||||||
bot.lookAt(bed.position)
|
bot.lookAt(bed.position)
|
||||||
bot.waitForChunksToLoad(() => {
|
bot.waitForChunksToLoad(() => {
|
||||||
cfg.plugins.moveNear(bed.position)
|
cfg.plugins.mover.moveNear(bed.position)
|
||||||
bot.sleep(bed, (err) => {
|
bot.sleep(bed, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
!quiet && bot.chat(`can't sleep: ${err.message}`)
|
!quiet && bot.chat(`can't sleep: ${err.message}`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user