From 0dfe66cd15422f0cf9db8d2bb766bcf95b5fcdc7 Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Mon, 10 Feb 2025 05:06:17 -0800 Subject: [PATCH] Fix bad words exceptions not updating when modified and saved from GUI Who else found out this feature exists from this commit? --- MCGalaxy/Chat/ProfanityFilter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Chat/ProfanityFilter.cs b/MCGalaxy/Chat/ProfanityFilter.cs index 4e1863c02..8ca2e4e2e 100644 --- a/MCGalaxy/Chat/ProfanityFilter.cs +++ b/MCGalaxy/Chat/ProfanityFilter.cs @@ -83,6 +83,7 @@ namespace MCGalaxy { if (!hookedFilter) { hookedFilter = true; badWordsFile.OnTextChanged += LoadBadWords; + goodWordsFile.OnTextChanged += LoadBadWords; } goodWords = goodWordsFile.GetTextWithoutComments();