Skip to content

Commit a144047

Browse files
authored
Merge pull request BGHDDevelopment#22 from BGHDDevelopment/master
Fixed Update Checker
2 parents 7562b68 + 2714a3e commit a144047

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

balancer/src/main/java/com/jaimemartz/playerbalancer/PlayerBalancer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ public void onEnable() {
6868
if (!checkUpToDate()) {
6969
getLogger().info("You are using a version of PlayerBalancer that is not the latest on spigot");
7070
getLogger().info("You might want to update to benefit of new features, improvements and fixes");
71-
getLogger().info("Access the plugin page at https://www.spigotmc.org/resources/10788");
71+
getLogger().info("Access the plugin page at https://www.spigotmc.org/resources/55011");
7272
}
7373

7474
this.execStart();
7575
}
7676

7777
public boolean checkUpToDate() {
7878
try {
79-
URLConnection con = new URL("https://api.spigotmc.org/legacy/update.php?resource=10788").openConnection();
79+
URLConnection con = new URL("https://api.spigotmc.org/legacy/update.php?resource=55011").openConnection();
8080
String reply = new BufferedReader(new InputStreamReader(con.getInputStream())).readLine();
8181
return getDescription().getVersion().equals(reply);
8282
} catch (IOException e) {

0 commit comments

Comments
 (0)