@nxg-org/mineflayer-util-plugin 1.7.6 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ class MovementFunctions {
33
33
  }
34
34
  lazyTeleport(endPos, steps = 1, update = false) {
35
35
  for (const pos of interpolate(this.bot.entity.position, endPos, steps)) {
36
- const block = this.bot.blockAt(pos);
36
+ const block = this.bot.blockAt(pos.offset(0, -0.01, 0));
37
37
  if (!block)
38
38
  break;
39
39
  this.bot._client.write("position", Object.assign(Object.assign({}, pos), { onGround: block.transparent }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxg-org/mineflayer-util-plugin",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "mineflayer utils for NextGEN mineflayer plugins.",
5
5
  "keywords": [
6
6
  "mineflayer",