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 +1 -1
- package/package.json +1 -1
- package/src/structures/Pet.js +3 -3
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
|
-
[
|
|
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
package/src/structures/Pet.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
77
|
+
this.lastExercisedAt = this.lastExercised ? new Date(this.lastExerciced) : null;
|
|
78
78
|
/**
|
|
79
79
|
* Raw Nickname, if any
|
|
80
80
|
* @type {?string}
|