From d953bd4cf68b8232a6f0519ebcf78737d2854288 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 28 Jan 2021 02:10:52 +0500 Subject: [PATCH] fix(mover): :art: fix quiet not being "followed" --- lib/plugins/mover.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/plugins/mover.js b/lib/plugins/mover.js index c90fd2c..9bf6b3a 100644 --- a/lib/plugins/mover.js +++ b/lib/plugins/mover.js @@ -67,12 +67,12 @@ function follow(entity, dynamic = true, distance = 3) { console.assert(entity) const { GoalFollow } = require('mineflayer-pathfinder').goals - cfg.quiet && console.log(entity) - || bot.chat( - `following ${entity.type - }: ${entity.username || entity.displayName - }${dynamic ? "" : " once"}` - ) + // console.log(entity) + cfg.quiet || bot.chat( + `following ${entity.type + }: ${entity.username || entity.displayName + }${dynamic ? "" : " once"}` + ) entity = entity.entity ? entity.entity : entity