lavalink-devs / lavalink-client

Lavalink client for lavalink v4
https://lavalink.dev/
MIT License
16 stars 5 forks source link

Fix wrong deprecation annotation #15

Closed DRSchlaubi closed 9 months ago

DRSchlaubi commented 9 months ago

Currently, the ReplaceWith annotation tells IntelliJ to replace with subscribe(), which is not correct, since this will replace with subscribe().subscribe() in most cases, or even worse destroy things like asMono().map().subscribe(), replacing it with this, will tell the IDE to use the instance of PlayerUpdateBuilder as a Mono like it is intended