mineflayer 3.13.0 → 3.13.1

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.
package/docs/history.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.13.1
2
+
3
+ * Fix bug with force lastSentPitch in bot.look (@KadaverBrutalo10)
4
+ * Fix typo harming type safety (@Eagle-Anne)
5
+
1
6
  ## 3.13.0
2
7
 
3
8
  * compute scoreboard displayName dynamically (@U9G)
package/index.d.ts CHANGED
@@ -201,7 +201,7 @@ export interface Bot extends TypedEmitter<BotEvents> {
201
201
  blockInSight: (maxSteps: number, vectorLength: number) => Block | null
202
202
 
203
203
  blockAtCursor: (maxDistance?: number, matcher?: Function) => Block | null
204
- blockAtEntityCursor: (entity?: entity, maxDistance?: number, matcher?: Function) => Block | null
204
+ blockAtEntityCursor: (entity?: Entity, maxDistance?: number, matcher?: Function) => Block | null
205
205
 
206
206
  canSeeBlock: (block: Block) => boolean
207
207
 
@@ -240,6 +240,7 @@ function inject (bot, { physicsEnabled }) {
240
240
 
241
241
  if (force) {
242
242
  lastSentYaw = yaw
243
+ lastSentPitch = pitch
243
244
  return
244
245
  }
245
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mineflayer",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "create minecraft bots with a stable, high level API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",