mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-11-15 10:25:15 +01:00
disable update checker
This commit is contained in:
parent
b1b07fcb59
commit
041e3dfbc0
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user