fix minor mistake in reduce keys of profanity filter

This commit is contained in:
UnknownShadow200 2017-09-22 13:43:40 +10:00
parent f5a9a229ff
commit c991671fe5

View File

@ -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() {