Update player.py

Removed two unnecessary  lines in `change_node`
This commit is contained in:
Crussader 2021-10-26 21:15:19 +04:00 committed by GitHub
parent 36356914c0
commit 2a81d9d995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -304,7 +304,6 @@ class Player(VoiceProtocol):
self._node = node
self._node.players[self.guild.id] = self
if self._voice_state:
self._ending_track = self._current
await self._dispatch_voice_update(self._voice_state)
if self._current:
@ -316,7 +315,6 @@ class Player(VoiceProtocol):
endTime=self.current.length,
noReplace = False)
self._current = self.current
self._last_update = time.time() * 1000
if self.is_paused: