From fb9346e814801366d0f601b9ab88f3ec0c782b09 Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Tue, 11 Aug 2020 14:56:08 +0200 Subject: [PATCH] Updatechecker fix --- src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java b/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java index 256c67b..3586349 100644 --- a/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java +++ b/src/main/lombok/nl/sbdeveloper/themeparkplus/ThemeParkPlus.java @@ -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...");