mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-04 23:07:44 +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() {
|
// getServer().getScheduler().scheduleAsyncDelayedTask(this, new Runnable() {
|
||||||
// @Override
|
// @Override
|
||||||
// public void run() {
|
// public void run() {
|
||||||
// updateAvailable = Updates.CheckForUpdatesTask(getDescription().getVersion(), timeout);
|
// updateAvailable = Updates.checkForUpdates(getDescription().getVersion(), timeout);
|
||||||
// }
|
// }
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
|
@ -33,7 +33,7 @@ public class Updates {
|
|||||||
* @param updateTimeout
|
* @param updateTimeout
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public static boolean CheckForUpdatesTask(String versionString, int updateTimeout) {
|
public static boolean checkForUpdates(String versionString, int updateTimeout) {
|
||||||
BufferedReader bufferedReader = null;
|
BufferedReader bufferedReader = null;
|
||||||
boolean updateAvailable = false;
|
boolean updateAvailable = false;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user