3
0
Fork 0

Fixed typo

This commit is contained in:
stijnb1234 2020-11-15 14:41:01 +01:00
parent da37e187fa
commit 01427c6002

View file

@ -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) -> {