disable update checker

This commit is contained in:
jonah 2024-01-27 08:56:47 -05:00
parent b1b07fcb59
commit 041e3dfbc0
2 changed files with 2 additions and 6 deletions

View File

@ -174,11 +174,7 @@ public class BreweryPlugin extends JavaPlugin {
// Disable Update Check for older mc versions
if (use1_14 && BConfig.updateCheck) {
try {
breweryPlugin.getServer().getScheduler().runTaskLaterAsynchronously(breweryPlugin, new UpdateChecker(), 135);
} catch (Exception e) {
e.printStackTrace();
}
//breweryPlugin.getServer().getScheduler().runTaskLaterAsynchronously(breweryPlugin, new UpdateChecker(), 135);
}

View File

@ -274,7 +274,7 @@ public class PlayerListener implements Listener {
@EventHandler(ignoreCancelled = true)
public void onPlayerJoin(PlayerJoinEvent event) {
UpdateChecker.notify(event.getPlayer());
//UpdateChecker.notify(event.getPlayer());
}
@EventHandler