@nxg-org/mineflayer-physics-util 1.8.9 → 1.8.10

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.
@@ -206,7 +206,7 @@ class BotcraftPhysics {
206
206
  for (const blockBB of bbs) {
207
207
  if (blockBB.intersects(bb)) {
208
208
  const blockAt = world.getBlock(blockBB.minPoint());
209
- console.log('world not free due to block: ', blockAt.name, blockAt.position);
209
+ // console.log('world not free due to block: ', blockAt.name, blockAt.position)
210
210
  return false;
211
211
  }
212
212
  }
@@ -1027,7 +1027,7 @@ class BotcraftPhysics {
1027
1027
  return bb;
1028
1028
  };
1029
1029
  while (movement.x != 0.0 && this.worldIsFree(world, prepare(movement.x, -maxUpStep, 0), true)) {
1030
- console.log('x', movement.x, step, this.worldIsFree(world, prepare(movement.x, -maxUpStep, 0), true));
1030
+ // console.log('x', movement.x, step, this.worldIsFree(world, prepare(movement.x, -maxUpStep, 0), true))
1031
1031
  movement.x = movement.x < step && movement.x >= -step ? 0.0 : movement.x > 0.0 ? movement.x - step : movement.x + step;
1032
1032
  }
1033
1033
  while (movement.z != 0.0 && this.worldIsFree(world, prepare(0, -maxUpStep, movement.z), true)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxg-org/mineflayer-physics-util",
3
- "version": "1.8.9",
3
+ "version": "1.8.10",
4
4
  "description": "Provides functionality for more accurate entity and projectile tracking.",
5
5
  "keywords": [
6
6
  "mineflayer",