sammypanda / MCJE-PlayerQuests-Plugin

Survival-friendly questing by the players for the players!
GNU General Public License v3.0
4 stars 0 forks source link

Release alert always showing even if on current latest release #78

Closed sammypanda closed 2 months ago

sammypanda commented 2 months ago

Description: The release alert feature is not functioning as expected. Specifically, the alert indicating that a new release is available continues to appear even when the plugin is already updated to the latest version. This issue causes confusion for users, as it suggests that an update is needed when it is not.

Steps to Reproduce:

  1. Ensure that the plugin is updated to the latest version.
  2. Launch the application.
  3. Observe that the release alert is still displayed, suggesting that a new update is available.

Expected Behavior: The release alert should not be displayed if the plugin is already on the latest release. Users should only see the alert when an actual update is available.

Actual Behavior: The release alert is displayed regardless of whether the application is updated to the latest version.

Screenshots/Logs: image

Environment:

Suggested Fix: Review the logic used to check for the latest release version and ensure that it accurately reflects the current installed version. Verify that the comparison between the current version and the latest available version is correctly implemented. Maybe use the equals func instead of operator.