diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java index 4fe9ae356..d21ae0f3a 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java @@ -171,15 +171,15 @@ public class PlayerLogic { String temp = value.substring(i, i + 1); if (EmojiUtil.isContainEmoji(temp)) { - LOGGER.error("==========> error , because of Emoji..."); + LOGGER.error("==========> error , because of Emoji...{}",value); return -1;// 如果含有敏感词汇 -1 } - if (temp.matches(chinese)) { - valueLength += 2; - } else { +// if (temp.matches(chinese)) { +// valueLength += 2; +// } else { valueLength += 1; - } +// } } return valueLength; }