Do not enabled automatic updates by default without user interaction

This commit is contained in:
Phoenix616 2020-06-18 18:12:56 +01:00
parent 3e061dda8d
commit d3f717deef
2 changed files with 2 additions and 1 deletions

View File

@ -407,6 +407,7 @@ public class ChestShop extends JavaPlugin {
private void startUpdater() {
if (Properties.TURN_OFF_UPDATES) {
getLogger().info("Auto-updater is disabled. If you want the plugin to automatically download new releases then set 'TURN_OFF_UPDATES' to 'false' in your config.yml!");
return;
}

View File

@ -100,7 +100,7 @@ public class Properties {
@PrecededBySpace
@ConfigurationComment("Do you want to turn off the automatic updates of ChestShop?")
public static boolean TURN_OFF_UPDATES = false;
public static boolean TURN_OFF_UPDATES = true;
@PrecededBySpace
@ConfigurationComment("How large should the internal caches be?")