Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Fixing link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkKronicle committed Jan 14, 2022
1 parent dd0c560 commit 95d4664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ fabric_api_version=0.44.0+1.18
kommandlib_version=1.0.0-build1
malilib_version = 0.10.0-dev.26
org.gradle.jvmargs=-Xmx1G
konstruct_version=1.1.0-build1
konstruct_version=1.0.2-build3
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,10 @@ private MessageDispatcher() {
}
if (current.getStyle().getClickEvent() == null) {
return new FluidText(
current.withStyle(
current.getStyle()
.withClickEvent(
new ClickEvent(
ClickEvent.Action
.OPEN_URL,
url))));
current.withStyle(current.getStyle().withClickEvent(
new ClickEvent(ClickEvent.Action.OPEN_URL, url)
)).withMessage(match1.match)
);
}
return new FluidText(current);
});
Expand Down

0 comments on commit 95d4664

Please sign in to comment.