Skip to content

Commit

Permalink
first day fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StavZ committed Sep 25, 2023
1 parent e12791c commit 3683ced
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/structures/Pet.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Pet {
* Last time the pet was fed ( Date )
* @type {?Date}
*/
this.lastFedAt = this.lastFed ? new Date(this.stats.lastFed) : null;
this.lastFedAt = this.lastFed ? new Date(this.lastFed) : null;
/**
* Thirst value ( 100 is highest )
* @type {?number}
Expand All @@ -59,7 +59,7 @@ class Pet {
* Last time the pet drank ( Date )
* @type {?Date}
*/
this.lastDrankAt = this.lastDrank ? new Date(this.stats.lastDrank) : null;
this.lastDrankAt = this.lastDrank ? new Date(this.lastDrank) : null;
/**
* Exercise/Entertainment value ( 100 is highest )
* @type {?number}
Expand All @@ -74,7 +74,7 @@ class Pet {
* Last time the pet exercised ( Date )
* @type {?Date}
*/
this.lastExercisedAt = this.lastExercised ? new Date(this.stats.lastExerciced) : null;
this.lastExercisedAt = this.lastExercised ? new Date(this.lastExerciced) : null;
/**
* Raw Nickname, if any
* @type {?string}
Expand Down
1 change: 0 additions & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ describe('Client#getPlayer', () => {
expect(player.stats.arena).instanceOf(ArenaBrawl);
}
if (player.stats.woolwars) {
console.log(player.stats.woolwars);
expect(player.stats.woolwars).instanceOf(WoolWars);
}
}
Expand Down

0 comments on commit 3683ced

Please sign in to comment.