From ac9b0c42b7593001eb177bb2ee60b433c36948ff Mon Sep 17 00:00:00 2001 From: Star Date: Wed, 30 Jun 2021 05:33:06 -0600 Subject: [PATCH] Update src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java Co-authored-by: Andre_601 <11576465+Andre601@users.noreply.github.com> (cherry picked from commit ccf4f5934386b005831757d298e2da9d8f46cb1a) --- .../me/clip/placeholderapi/updatechecker/UpdateChecker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java b/src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java index 44be055..2163be2 100644 --- a/src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java +++ b/src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java @@ -98,7 +98,9 @@ public class UpdateChecker implements Listener { return true; } else if ((plV[1] < spV[1])) { return true; - } else return plV[2] < spV[2]; + } else { + return plV[2] < spV[2]; + } } private int[] toReadable(String version) {