Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Bugfix -> Fixed message bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfacheSache committed Sep 2, 2023
1 parent b448e2a commit 35aa680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void run() {

VersionUtils.Result result = instance.getCore().getVersionResult();
if (result.getVersionStatus().equals(VersionUtils.VersionStatus.OUTDATED)) {
instance.sendMessage(player, localization.get(locale, result.getCurrentVersion(), result.getLatestVersion()));
instance.sendMessage(player, localization.get(locale, "plugin.outdated.message", result.getCurrentVersion(), result.getLatestVersion()));
instance.sendMessage(player, MessageFormat.format("§7-> §b{0}",
result.getReleaseUrl().replace("/NeoPlugin", "").replace("/releases/tag", "")),
"OPEN_URL", result.getReleaseUrl(), null, null);
Expand Down

0 comments on commit 35aa680

Please sign in to comment.