mineflayer icon indicating copy to clipboard operation
mineflayer copied to clipboard

Dig and place block seems not work on spigot/paper 1.18.2 server

Open BlueDeer233 opened this issue 3 years ago • 2 comments

  • [x] The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: latest
  • server: spigot/paper 1.18.2
  • node: 16.15.0/18.1.0

Detailed description of a problem

When I send "dig" or "build" to my chat, the bot only doing the digging animation, jumping and placing black animation, and throw out "starting to dig grass_block" and "finished digging grass_block", "No block has been placed : the block is still air" twice, but nothing happend in the minecraft world :( I tested the script on a vanilla 1.18.2 server. It worked normally.

Your current code

same as digger.js

BlueDeer233 avatar May 12 '22 07:05 BlueDeer233

and i cant see any blocks in mineflayer-viewer

jagadeeshCoder avatar Jun 25 '22 06:06 jagadeeshCoder

~~This bug also appears in 1.19.2~~ it was human error

it could be due to the bot trying to place the block in mid air, paper will place it not on the right block and mineflayer does not expect that.

Moosbee avatar Aug 15 '23 17:08 Moosbee