mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
fix minor mistake in reduce keys of profanity filter
This commit is contained in:
parent
f5a9a229ff
commit
c991671fe5
@ -62,9 +62,9 @@ namespace MCGalaxy {
|
||||
static void InitReduceTable() {
|
||||
if (reduceKeys != null) return;
|
||||
// Because some letters are similar (Like i and l), they are reduced to the same form.
|
||||
// For example, the word "@t3$5t ll" is reduced to "atest ii";
|
||||
reduceKeys = "@|i3|l3|(|3|ph|6|#|l|!|1|0|9|$5|vv|2".Split('|');
|
||||
reduceValues= "a|b|b|c|e|f|g|h|i|i|i|o|q|s|w|z".Split('|');
|
||||
// For example, the word "@t3$5t ll" is reduced to "atesst ii";
|
||||
reduceKeys = "@|i3|l3|(|3|ph|6|#|l|!|1|0|9|$|5|vv|2".Split('|');
|
||||
reduceValues= "a|b|b|c|e|f|g|h|i|i|i|o|q|s|s|w|z".Split('|');
|
||||
}
|
||||
|
||||
static void LoadBadWords() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user