Skip to content

Commit

Permalink
Merge branch 'architectury-1.17.1' into architectury-1.16.5
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Nov 12, 2023
2 parents 3f9ff3b + 6204118 commit a36cd38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ public Optional<Text> getUpdateMessageServer() {
if (textParts.length > 1) {
MutableText component1 = new LiteralText(textParts[0]);
MutableText component2 = new LiteralText(textParts[1]);
MutableText link = new LiteralText(info.modHost).styled(arg -> arg.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, info.modDownload)).withUnderline(true));
MutableText link = new LiteralText(info.modHost).styled(arg -> arg.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, info.modDownload)));
return Optional.of(component1.append(link).append(component2));
} else {
MutableText link = new LiteralText(info.modHost).styled(arg -> arg.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, info.modDownload)).withUnderline(true));
MutableText link = new LiteralText(info.modHost).styled(arg -> arg.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, info.modDownload)));
return Optional.of(new LiteralText(textParts[0]).append(link));
}
} else {
Expand Down

0 comments on commit a36cd38

Please sign in to comment.