How to use enderearl in mineflayer #3227
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
I tried this code
async function useEnderPearl() {
// Check if the bot has an ender pearl
const enderPearl = bot.inventory
.items()
.find((item) => item.name === "ender_pearl");
}
useEnderPearl();
The bot picks the pearl in hand but it does not use it
The text was updated successfully, but these errors were encountered: