From ccf4f5934386b005831757d298e2da9d8f46cb1a 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> --- .../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 0683887..8001d61 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) {