Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
Dams4K committed Jul 19, 2023
1 parent 4f58fb3 commit c69efde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public void onClientJoinWorld(EntityJoinWorldEvent event) {

ITextComponent modNameMessage = new TextComponentString(I18n.format("cpsdisplay.version.mod_name", new Object[0]));

ITextComponent modInstalledMessage = new TextComponentString(I18n.format("cpsdisplay.version.installed", new Object[0]));
String modInstalledString = I18n.format("cpsdisplay.version.installed", new Object[0]);
ITextComponent modInstalledMessage = new TextComponentString(modInstalledString.replace("{version}", References.MOD_VERSION));

ITextComponent message = new TextComponentString("");
message.appendSibling(modNameMessage);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/v12/assets/cpsdisplay/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ cpsdisplay.version.checker.patch_update=Patch update:
cpsdisplay.version.checker.disabled=§eYou will not be informed of new releases
cpsdisplay.version.checker.enabled=§eThe next version that will be communicated to you will be v{next_version} (or another higher)
cpsdisplay.version.checker.button=Updater config
cpsdisplay.version.installed=§2v{version} &7succesfully installed
cpsdisplay.version.installed=§2v{version} §7succesfully installed

cpsdisplay.version.auto_update=Auto update:

0 comments on commit c69efde

Please sign in to comment.