about summary refs log tree commit diff
path: root/src/main.ts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-15 13:12:38 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-15 13:12:38 +0100
commit5abdd4f89c39262659a7e1532de3fd2749e4835c (patch)
treec8190f15714f92b029259b1ba3563b0586dc0eda /src/main.ts
parentMisc: Cleanup shell.nix (diff)
download2bored2walk-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.ts2
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)