From 824b0bd370c47b6379c001c5318405545771a0ab Mon Sep 17 00:00:00 2001 From: Sven Date: Fri, 28 Aug 2026 17:13:35 +0200 Subject: [PATCH 1/3] Fix disallowed link still being sent to Discord --- src/main/kotlin/nl/skbotnl/chatog/chatsystem/ChatSystem.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/nl/skbotnl/chatog/chatsystem/ChatSystem.kt b/src/main/kotlin/nl/skbotnl/chatog/chatsystem/ChatSystem.kt index 86ac932..f60748e 100644 --- a/src/main/kotlin/nl/skbotnl/chatog/chatsystem/ChatSystem.kt +++ b/src/main/kotlin/nl/skbotnl/chatog/chatsystem/ChatSystem.kt @@ -46,11 +46,12 @@ internal abstract class ChatSystem { val discordPlayerPartString = listOfNotNull(prefix, ChatUtil.getPlayerPartString(player, includeSuffix = true)).joinToString(" | ") - sendDiscordMessage(resolveChatItems(text), discordPlayerPartString, player.uniqueId) - + // This must be above sendDiscordMessage because processText will exit if a disallowed link is sent val messageComponent = ChatUtil.processText(text, player)?.color(PlayerUtils.getMessageColor(player.uniqueId)) ?: return + sendDiscordMessage(resolveChatItems(text), discordPlayerPartString, player.uniqueId) + val chatComponent = UtilitiesOG.trueogColorize( ChatUtil.legacyToMm("$playerPartString${PlayerUtils.getSuffix(player.uniqueId)} &7> ") From b0d86fefaf28581720305417245fdcd22338a692 Mon Sep 17 00:00:00 2001 From: NotAlexNoyle Date: Mon, 14 Sep 2026 02:07:56 -0400 Subject: [PATCH 2/3] Update Utilities-OG API --- libs/Vanish-OG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Vanish-OG b/libs/Vanish-OG index 64d652a..8d04fc0 160000 --- a/libs/Vanish-OG +++ b/libs/Vanish-OG @@ -1 +1 @@ -Subproject commit 64d652a6760ab5fc6356e1e65207027eb1bae36c +Subproject commit 8d04fc0cf7e5648e1c1d6b2da1384bd4856196a8 From 9a0ba40039287c35488319947385051a8ec11827 Mon Sep 17 00:00:00 2001 From: NotAlexNoyle Date: Sun, 18 Oct 2026 15:04:33 -0400 Subject: [PATCH 3/3] Update Vanish-OG --- libs/Vanish-OG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Vanish-OG b/libs/Vanish-OG index 8d04fc0..03b955f 160000 --- a/libs/Vanish-OG +++ b/libs/Vanish-OG @@ -1 +1 @@ -Subproject commit 8d04fc0cf7e5648e1c1d6b2da1384bd4856196a8 +Subproject commit 03b955fd2a41769d0bca120e020983be54bad175