Fix the updater

This commit is contained in:
Telesphoreo 2022-04-05 15:46:21 -05:00
parent 7420e7e721
commit e0632644ab

View File

@ -98,7 +98,7 @@ public class UpdateChecker extends PlexBase
} }
case 0 -> { case 0 -> {
sender.sendMessage(Component.text("Your version of Plex is up to date!").color(NamedTextColor.GREEN)); sender.sendMessage(Component.text("Your version of Plex is up to date!").color(NamedTextColor.GREEN));
return true; return false;
} }
case -2 -> { case -2 -> {
sender.sendMessage(Component.text("Unknown version, unable to check for updates.").color(NamedTextColor.RED)); sender.sendMessage(Component.text("Unknown version, unable to check for updates.").color(NamedTextColor.RED));