From cbcdfd03e7d4042a8812d70d3e20fc216bdc5e02 Mon Sep 17 00:00:00 2001 From: Riley Park Date: Wed, 29 Mar 2023 19:35:13 -0700 Subject: [PATCH] Make other link in deprecation message clickable too --- patches/api/0010-Timings-v2.patch | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/patches/api/0010-Timings-v2.patch b/patches/api/0010-Timings-v2.patch index f4cc10a49..2b9f5e8bf 100644 --- a/patches/api/0010-Timings-v2.patch +++ b/patches/api/0010-Timings-v2.patch @@ -1264,10 +1264,10 @@ index 0000000000000000000000000000000000000000..df142a89b8c43acb81eb383eac0ef048 +} diff --git a/src/main/java/co/aikar/timings/Timings.java b/src/main/java/co/aikar/timings/Timings.java new file mode 100644 -index 0000000000000000000000000000000000000000..986d4e077759098bd49b76968d1600f99e26a13b +index 0000000000000000000000000000000000000000..9812d668ad945aba486fbf6d5bf83c4292cb5d03 --- /dev/null +++ b/src/main/java/co/aikar/timings/Timings.java -@@ -0,0 +1,331 @@ +@@ -0,0 +1,337 @@ +/* + * This file is licensed under the MIT License (MIT). + * @@ -1440,7 +1440,13 @@ index 0000000000000000000000000000000000000000..986d4e077759098bd49b76968d1600f9 + .clickEvent(ClickEvent.openUrl("https://spark.lucko.me/"))) + ) + .append(Component.newline()) -+ .append(Component.text(" For more information please visit: https://github.com/PaperMC/Paper/issues/8948")) ++ .append( ++ Component.text(" For more information please visit: ") ++ .append( ++ Component.text() ++ .content("https://github.com/PaperMC/Paper/issues/8948") ++ .clickEvent(ClickEvent.openUrl("https://github.com/PaperMC/Paper/issues/8948"))) ++ ) + .build(); + } +