Updatechecker fix
This commit is contained in:
parent
10aca7c560
commit
fb9346e814
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public final class ThemeParkPlus extends JavaPlugin {
|
||||||
|
|
||||||
updateManager.handleResponse((versionResponse, version) -> {
|
updateManager.handleResponse((versionResponse, version) -> {
|
||||||
if (versionResponse == UpdateManager.VersionResponse.FOUND_NEW) {
|
if (versionResponse == UpdateManager.VersionResponse.FOUND_NEW) {
|
||||||
Bukkit.getLogger().warning("[ThemeParkPlus] There is a new version available! Curent: " + this.getDescription().getVersion() + " New: " + version);
|
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.Download")) {
|
||||||
Bukkit.getLogger().info("[ThemeParkPlus] Trying to download the update...");
|
Bukkit.getLogger().info("[ThemeParkPlus] Trying to download the update...");
|
||||||
|
|
||||||
|
|
Reference in a new issue