hypixel-api-reborn 11.0.0 → 11.0.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/README.md CHANGED
@@ -58,7 +58,7 @@ For more examples go to our [documentation](https://hypixel-api-reborn.github.io
58
58
 
59
59
  ## Changelog
60
60
 
61
- [v10.0.0](https://github.com/Hypixel-API-Reborn/hypixel-api-reborn/releases/tag/10.0.0)
61
+ [v11.0.0](https://github.com/Hypixel-API-Reborn/hypixel-api-reborn/releases/tag/11.0.0)
62
62
 
63
63
  ### Try it now
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypixel-api-reborn",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Feature-rich Hypixel API wrapper for Node.js",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -44,7 +44,7 @@ class Pet {
44
44
  * Last time the pet was fed ( Date )
45
45
  * @type {?Date}
46
46
  */
47
- this.lastFedAt = this.lastFed ? new Date(this.stats.lastFed) : null;
47
+ this.lastFedAt = this.lastFed ? new Date(this.lastFed) : null;
48
48
  /**
49
49
  * Thirst value ( 100 is highest )
50
50
  * @type {?number}
@@ -59,7 +59,7 @@ class Pet {
59
59
  * Last time the pet drank ( Date )
60
60
  * @type {?Date}
61
61
  */
62
- this.lastDrankAt = this.lastDrank ? new Date(this.stats.lastDrank) : null;
62
+ this.lastDrankAt = this.lastDrank ? new Date(this.lastDrank) : null;
63
63
  /**
64
64
  * Exercise/Entertainment value ( 100 is highest )
65
65
  * @type {?number}
@@ -74,7 +74,7 @@ class Pet {
74
74
  * Last time the pet exercised ( Date )
75
75
  * @type {?Date}
76
76
  */
77
- this.lastExercisedAt = this.lastExercised ? new Date(this.stats.lastExerciced) : null;
77
+ this.lastExercisedAt = this.lastExercised ? new Date(this.lastExerciced) : null;
78
78
  /**
79
79
  * Raw Nickname, if any
80
80
  * @type {?string}