mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-09 20:20:11 +01:00
Bad method name.
This commit is contained in:
parent
a1493a8c71
commit
14da78fa8d
@ -300,7 +300,7 @@ public class NoCheatPlus extends JavaPlugin implements Listener {
|
||||
// getServer().getScheduler().scheduleAsyncDelayedTask(this, new Runnable() {
|
||||
// @Override
|
||||
// public void run() {
|
||||
// updateAvailable = Updates.CheckForUpdatesTask(getDescription().getVersion(), timeout);
|
||||
// updateAvailable = Updates.checkForUpdates(getDescription().getVersion(), timeout);
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
@ -33,7 +33,7 @@ public class Updates {
|
||||
* @param updateTimeout
|
||||
* @return
|
||||
*/
|
||||
public static boolean CheckForUpdatesTask(String versionString, int updateTimeout) {
|
||||
public static boolean checkForUpdates(String versionString, int updateTimeout) {
|
||||
BufferedReader bufferedReader = null;
|
||||
boolean updateAvailable = false;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user