diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index 748e4f3f8..e79531b02 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -123,7 +123,7 @@ class StreamDispatcher extends Writable { pause() { if (this.paused) return; if (this.streams.opus) this.streams.opus.unpipe(this); - this._writeCallback(); + if (this._writeCallback) this._writeCallback(); this._setSpeaking(false); this.pausedSince = Date.now(); }