修改名字

back_recharge
lvxinran 2019-08-13 10:08:49 +08:00
parent 087d03e8dc
commit d301d88bdf
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public class PlayerLogic {
private boolean checkName(ISession iSession, String name, int msgId) throws Exception {
int length = getStrLength(name);
if (length == -1) {
MessageUtil.sendErrorResponse(iSession, 0, msgId, "");
MessageUtil.sendErrorResponse(iSession, Global.RENAME_DIRTY, msgId, "名字不合法");
return true;
}
if (length > SGameSetting.getGameSetting().getMaxNameLength() || length < 1) {