diff --git a/patches/server/Timings-v2.patch b/patches/server/Timings-v2.patch index 29409c6ee5..bf8c68bc48 100644 --- a/patches/server/Timings-v2.patch +++ b/patches/server/Timings-v2.patch @@ -194,6 +194,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + +import com.google.common.collect.Sets; +import io.papermc.paper.adventure.PaperAdventure; ++import net.kyori.adventure.text.event.ClickEvent; +import net.kyori.adventure.text.format.NamedTextColor; +import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer; +import net.minecraft.server.MinecraftServer; @@ -511,7 +512,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + + timingsURL = con.getHeaderField("Location"); -+ listeners.sendMessage(text("View Timings Report: " + timingsURL, NamedTextColor.GREEN)); ++ listeners.sendMessage(text("View Timings Report: ", NamedTextColor.GREEN).append(text(timingsURL).clickEvent(ClickEvent.clickEvent(ClickEvent.Action.OPEN_URL, timingsURL)))); + + if (response != null && !response.isEmpty()) { + Bukkit.getLogger().log(Level.INFO, "Timing Response: " + response);