mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 09:37:37 +00:00
Fix the updater
This commit is contained in:
parent
7420e7e721
commit
e0632644ab
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user