diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java index 35abbf5d9..74e3a9789 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java @@ -364,7 +364,7 @@ public class PlayerEventListener extends PlotListener implements Listener { && PremiumVerification.isPremium() && UpdateUtility.hasUpdate) { Caption boundary = TranslatableCaption.of("update.update_boundary"); Caption updateNotification = TranslatableCaption.of("update.update_notification"); - Template internalVersion = Template.of("p2version", String.valueOf(UpdateUtility.internalVersion.versionString())); + Template internalVersion = Template.of("p2version", UpdateUtility.internalVersion.versionString()); Template spigotVersion = Template.of("spigotversion", UpdateUtility.spigotVersion); Template downloadUrl = Template.of("downloadurl", "https://www.spigotmc.org/resources/77506/updates"); pp.sendMessage(boundary); diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index ec557dca8..5d7e8df65 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -479,10 +479,7 @@ "legacyconfig.legacy_config_done": "The conversion has finished. PlotSquared will now be disabled and the new configuration file will be used at next startup. Please review the new worlds.yml file. Please note that schematics will not be converted, as we are now using WorldEdit to handle schematics. You need to re-generate the schematics.", "legacyconfig.legacy_config_conversion_failed": "Failed to convert the legacy configuration file. See stack trace for information.", "update.update_boundary": "-----------------------------------", - "update.update_notification": "There appears to be a PlotSquared update available!", - "update.internal_version": "You are running version ", - "update.spigot_version": "Latest version is ", - "update.download": "Download the update at: >", + "update.update_notification": "There appears to be a PlotSquared update available!\nYou are running version \nLatest version is \nDownload the update at: >", "flag.flag_key": "Key: ", "flag.flag_desc": "Desc: ", "flag.not_valid_flag": "That is not a valid flag.",