PrismarineJS / mineflayer-pvp

Adds support for basic PVP and PVE to Mineflayer bots.
MIT License
51 stars 19 forks source link

TypeError: stateGoal.isValid is not a function #50

Open woody-willis opened 2 years ago

woody-willis commented 2 years ago

When I try to use pvp, I get this error.

This is the code generating the error: bot.pvp.attack(enemyPlayer); This is the order I am loading the plugins:

bot.loadPlugin(pathfinder);
bot.loadPlugin(pvp);