3
0
Fork 0

Updatechecker fix

This commit is contained in:
stijnb1234 2020-08-11 14:56:08 +02:00
parent 10aca7c560
commit fb9346e814

View file

@ -88,7 +88,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! 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")) {
Bukkit.getLogger().info("[ThemeParkPlus] Trying to download the update...");