Fix bad words exceptions not updating when modified and saved from GUI

Who else found out this feature exists from this commit?
This commit is contained in:
Goodlyay 2025-02-10 05:06:17 -08:00
parent 04d100393c
commit 0dfe66cd15

View File

@ -83,6 +83,7 @@ namespace MCGalaxy {
if (!hookedFilter) {
hookedFilter = true;
badWordsFile.OnTextChanged += LoadBadWords;
goodWordsFile.OnTextChanged += LoadBadWords;
}
goodWords = goodWordsFile.GetTextWithoutComments();