mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-08 08:08:05 +01:00
Do not enabled automatic updates by default without user interaction
This commit is contained in:
parent
3e061dda8d
commit
d3f717deef
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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?")
|
||||
|
Loading…
Reference in New Issue
Block a user