mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-09 20:20:11 +01:00
Switch order for read timed out in commented out update checking.
This commit is contained in:
parent
0e06c9c235
commit
f13ea3065d
@ -280,8 +280,9 @@ public class NoCheatPlus extends JavaPlugin implements Listener {
|
||||
// final String[] split = getDescription().getVersion().split("-b");
|
||||
// final int currentVersion = Integer.parseInt(split[split.length - 1]);
|
||||
// final URL url = new URL("http://nocheatplus.org:8080/job/NoCheatPlus/lastSuccessfulBuild/api/json");
|
||||
// final URLConnection connection = url.openConnection();
|
||||
// connection.setReadTimeout(config.getInt(ConfPaths.MISCELLANEOUS_READTIMEOUT, 4) * 1000);
|
||||
// final URLConnection connection = url.openConnection();
|
||||
//
|
||||
// bufferedReader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
// String line, content = "";
|
||||
// while ((line = bufferedReader.readLine()) != null)
|
||||
|
Loading…
Reference in New Issue
Block a user