修改部分数据

back_recharge
lvxinran 2020-08-03 21:47:59 +08:00
parent 6895ec3444
commit 8b402e70aa
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public abstract class AbstractMap implements IMap {
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
}
user.getTeamPosManager().setCurTeamPosId(teamId);
if (mapManager.getCurMapId() == 0) {
if (mapManager.getCurMapId() == 0||mapManager.getCurXY()==0) {
enterNewMap(user,mapId,teamId,mapEnterResponse);
} else if (mapManager.getCurMapId() != mapId) {
throw new ErrorCodeException(ErrorCode.newDefineCode("地图错误,应进入" + mapManager.getCurMapId()));