Skip to content

Commit

Permalink
hotfix Jukebox smart queue preparation (2.0.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoToast committed Aug 3, 2022
1 parent f1d4743 commit f93e39e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jukebot",
"version": "2.0.0",
"version": "2.0.1",
"main": "build/index.js",
"license": "MIT",
"repository": "https://github.com/NachoToast/Jukebot.git",
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Jukebox/Jukebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class Jukebox {
this.prevInventory.addItems(this.inventory.shift()!);
}

this.inventory[0].prepare();
this.inventory[0]?.prepare();

this.events.emit(`stateChange`, this._status, newStatus);
this._lastStatusChange = Date.now();
Expand Down

0 comments on commit f93e39e

Please sign in to comment.