Skip to content

Commit

Permalink
Fix the update checker.
Browse files Browse the repository at this point in the history
  • Loading branch information
7man7LMYT authored Jan 25, 2021
1 parent 95ebac2 commit 887eee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/stats/CustomStats/CustomStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public void onEnable() {
console.info("Configuration loaded.");

console.info("Checking for a newer version.");
new UpdateChecker(this, 80763).getVersion(version -> {
new UpdateChecker(this, 88300).getVersion(version -> {
if (this.getDescription().getVersion().equalsIgnoreCase(version)) {
console.info("Your up to date!");
} else {
console.info("There is a new update available. Download it at [redacted].");
console.info("There is a new update available. Download it at https://www.spigotmc.org/resources/customstats.88300/.");
}
});

Expand Down

0 comments on commit 887eee0

Please sign in to comment.