mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -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() {
|
static void InitReduceTable() {
|
||||||
if (reduceKeys != null) return;
|
if (reduceKeys != null) return;
|
||||||
// Because some letters are similar (Like i and l), they are reduced to the same form.
|
// 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";
|
// 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('|');
|
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('|');
|
reduceValues= "a|b|b|c|e|f|g|h|i|i|i|o|q|s|s|w|z".Split('|');
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LoadBadWords() {
|
static void LoadBadWords() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user