refactor(command): 🚚 move vehicle commands near other moves

Move the following:
- vehicle commands next to other movement related commands like `go`.
- move `ride` / `mount` command functionality into mover plugin
This commit is contained in:
jay
2021-01-26 22:49:23 +05:00
parent 974d460061
commit e6d29576e7
2 changed files with 14 additions and 12 deletions

View File

@@ -194,6 +194,10 @@ function command(message_parts, player) {
break
}
break
case "ride":
case "mount":
bot.mount(bot.nearestEntity())
break
case "w":
case "f":
command(["forward"].concat(message_parts.slice(1)))