ProtocolLib 5.2.0 update checker issue
Lncvrt opened this issue ยท 5 comments
- This issue is not solved in a development build (not sure?)
Describe the bug
When you load ProtocolLib 5.2.0 from spigotmc, the version checker is incorrect and shows "[ProtocolLib] The updater found an update: 5.2.0 (Running 5.2.0-SNAPSHOT-679). Download at https://www.spigotmc.org/resources/protocollib.1997/"
To Reproduce
Steps to reproduce the behavior:
- Download ProtocolLib 5.2.0
- Put it in a server & start the server
- Look at the latest console log
Expected behavior
Shouldn't show this message
Version Info
5.2.0
https://pastebin.com/raw/Mzn3u2sb
Additional context
Add any other context about the problem here.
I think, that's because there ARE updates..
But, however, the page clearly states which version to use for which server version...
The version was mistakenly released as a dev build 5.2.0-SNAPSHOT
, causing the plugin to recognize the remote version as a non-snapshot build 5.2.0
available on spigotmc.org. To resolve this, we may need to modify the updater to handle such cases differently and consider adding separate update channels.