diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-15 13:12:38 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-15 13:12:38 +0100 |
commit | 5abdd4f89c39262659a7e1532de3fd2749e4835c (patch) | |
tree | c8190f15714f92b029259b1ba3563b0586dc0eda /src/main.ts | |
parent | Misc: Cleanup shell.nix (diff) | |
download | 2bored2walk-5abdd4f89c39262659a7e1532de3fd2749e4835c.tar.gz 2bored2walk-5abdd4f89c39262659a7e1532de3fd2749e4835c.tar.bz2 2bored2walk-5abdd4f89c39262659a7e1532de3fd2749e4835c.zip |
Misc: Use now upstreamed 'mineflayer-antihunger' plugin
:^)
Diffstat (limited to '')
-rw-r--r-- | src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.ts b/src/main.ts index 896ecee..97c982b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,9 +2,9 @@ import 'dotenv/config'; import mineflayer from 'mineflayer'; import { ChannelType, Client, GatewayIntentBits } from "discord.js"; const mineflayerViewer = require('prismarine-viewer').mineflayer +const antihunger = require('mineflayer-antihunger').plugin import { pathfinder, Movements, goals } from 'mineflayer-pathfinder'; import { plugin as autoeat } from 'mineflayer-auto-eat'; -import { plugin as antihunger } from './antihunger' const hostname: string = "localhost" const goal: goals.Goal = new goals.GoalNear(0, 60, -2000000, 44) |