Skip to content

Commit 451f8ba

Browse files
authored
Remove space from the URL (wth?)
1 parent eea1bb4 commit 451f8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void onEnable() {
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=10788").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)