From b1a592dbbd6e38e0bf34d99cf099c474ebdc8da1 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 28 Jan 2021 02:24:59 +0500 Subject: [PATCH] fix(mover): :bug: workaround for vehicle not being removed in api on dismount `bot.vehicle` isn't removed on dismount, so this done manually --- lib/plugins/command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins/command.js b/lib/plugins/command.js index 39f07ff..ab54c5e 100644 --- a/lib/plugins/command.js +++ b/lib/plugins/command.js @@ -226,6 +226,7 @@ function command(username, message) { case "unmount": case "dismount": bot.dismount() + bot.vehicle = void 0 break case "move": case "go":