magmastream 2.9.3-dev.0 → 2.9.3-dev.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.
@@ -222,7 +222,9 @@ class Player {
222
222
  // Clone the current player state for comparison.
223
223
  const oldPlayer = this ? { ...this } : null;
224
224
  // Pause the player.
225
- await this.pause(true);
225
+ if (this.options.pauseOnDisconnect) {
226
+ await this.pause(true);
227
+ }
226
228
  // Send the voice state update to the gateway.
227
229
  this.manager.sendPacket({
228
230
  op: 4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.9.3-dev.0",
3
+ "version": "2.9.3-dev.1",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",