devoxin / SharpLink

Lavalink wrapper for Discord.Net written in C#
MIT License
27 stars 6 forks source link

Unable to resume a paused player. #9

Closed Giggitybyte closed 6 years ago

Giggitybyte commented 6 years ago

Simple error in the code for LavalinkPlayer.

On this line, it checks to see if the player is not playing when it should be checking if the player is playing. Because of this, if you attempt to call ResumeAsync after calling PauseAsync, you'll get an exception.