diff --git a/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java b/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java index 4e02603..a8a8faa 100644 --- a/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java +++ b/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java @@ -90,7 +90,7 @@ public final class ThemeParkPlus extends JavaPlugin { updateManager.handleResponse((versionResponse, version) -> { if (versionResponse == UpdateManager.VersionResponse.FOUND_NEW) { Bukkit.getLogger().warning("[ThemeParkPlus] There is a new version available! Current: " + this.getDescription().getVersion() + " New: " + version.get()); - if (getSConfig().getFile().getBoolean("UpdateChecker.Download")) { + if (getSConfig().getFile().getBoolean("UpdateChecker.DownloadOnUpdate")) { Bukkit.getLogger().info("[ThemeParkPlus] Trying to download the update..."); updateManager.handleDownloadResponse((downloadResponse, fileName) -> {