Skip to content

Commit

Permalink
more %n, mod description change
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyagara committed Sep 24, 2024
1 parent 3688354 commit ad14e48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/cooptweaks/discord/Discord.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void PlayerDied(ServerPlayerEntity serverPlayerEntity, GlobalPos lastDeat

String text = deathMessage.getString().replace(name, String.format("**%s**", name));

String message = String.format("%s\n*`%s` at %d, %d, %d*", text, dimension, pos.getX(), pos.getY(), pos.getZ());
String message = String.format("%s%n*`%s` at %d, %d, %d*", text, dimension, pos.getX(), pos.getY(), pos.getZ());
SendEmbed(message, Color.RED);
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/cooptweaks/discord/commands/Status.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Result<EmbedCreateSpec> execute(MinecraftServer server) {
String players = String.format("%d/%d", server.getCurrentPlayerCount(), server.getMaxPlayerCount());
String advancements = Utils.getAdvancementsProgress();

String message = String.format("`MOTD`: %s%n`Address`: %s\n`Version`: %s\n`Players`: %s\n`Advancements`: %s",
String message = String.format("`MOTD`: %s%n`Address`: %s%n`Version`: %s%n`Players`: %s%n`Advancements`: %s",
motd, address, version, players, advancements);

return Result.success(EmbedCreateSpec.builder()
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "cooptweaks",
"version": "${version}",
"name": "CoopTweaks",
"description": "Sync advancements, chat relay for a Discord channel and more.",
"description": "Sync advancements, chat relay for Discord and more.",
"authors": [
"Kyagara"
],
Expand Down

0 comments on commit ad14e48

Please sign in to comment.