Fix #357 - Added check for REPLACED TrackEndReason
Created by: xt449
Make sure you familiarize yourself with our contributing guidelines.
Summary
Fixes #357 (closed) LavalinkGuildConnection#InternalPlaybackFinishedAsync now check that the TrackEndReason is not Replaced before setting the current track to default.
Details
InternalPlaybackFinishedAsync now works properly for TrackEndReason.Replaced
Changes proposed
Add
if (e.Reason != TrackEndReason.Replaced) this.CurrentState.CurrentTrack = default;
as proposed by #357 (closed)