magmastream 2.9.0-dev.14 → 2.9.0-dev.15

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.
@@ -230,6 +230,8 @@ class Player {
230
230
  }
231
231
  await this.node.rest.destroyPlayer(this.guildId);
232
232
  await this.queue.clear();
233
+ await this.queue.clearPrevious();
234
+ await this.queue.setCurrent(null);
233
235
  this.manager.emit(Manager_1.ManagerEventTypes.PlayerStateUpdate, oldPlayer, null, {
234
236
  changeType: Manager_1.PlayerStateEventTypes.PlayerDestroy,
235
237
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.9.0-dev.14",
3
+ "version": "2.9.0-dev.15",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",