Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "poru", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A stable and powefull lavalink client with so many features", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -98,5 +98,3 @@ const { EventEmitter } = require("events"); | ||
if (typeof pause !== "boolean") throw new RangeError("Pause function must be pass with boolean value."); | ||
if (this.paused || !this.queue.size) return this; | ||
this.playing = !pause; | ||
this.paused = pause; | ||
this.node.send({ | ||
@@ -107,2 +105,5 @@ op: "pause", | ||
}); | ||
this.playing = !pause; | ||
this.paused = pause; | ||
return this; | ||
@@ -109,0 +110,0 @@ } |
28484
13
750