Skip to content

Commit

Permalink
Remove unused text argument, fixes #167
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Jun 6, 2024
1 parent 26f05af commit 871ebae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void handleStatisticsBundle(GameSpace space, String namespace, GameStati
body.add("bundle", bundleObject);
body.addProperty("game_id", gameId.toString());
this.sendBundle(body);
space.getPlayers().sendMessage(Text.translatable("text.nucleoid_extras.statistics.web_url", gameId)
space.getPlayers().sendMessage(Text.translatable("text.nucleoid_extras.statistics.web_url")
.formatted(Formatting.GRAY, Formatting.ITALIC)
.styled(style -> style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL,
"https://stats.nucleoid.xyz/games/" + gameId))));
Expand Down

0 comments on commit 871ebae

Please sign in to comment.