修改部分数据
parent
6895ec3444
commit
8b402e70aa
|
|
@ -80,7 +80,7 @@ public abstract class AbstractMap implements IMap {
|
||||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
|
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
|
||||||
}
|
}
|
||||||
user.getTeamPosManager().setCurTeamPosId(teamId);
|
user.getTeamPosManager().setCurTeamPosId(teamId);
|
||||||
if (mapManager.getCurMapId() == 0) {
|
if (mapManager.getCurMapId() == 0||mapManager.getCurXY()==0) {
|
||||||
enterNewMap(user,mapId,teamId,mapEnterResponse);
|
enterNewMap(user,mapId,teamId,mapEnterResponse);
|
||||||
} else if (mapManager.getCurMapId() != mapId) {
|
} else if (mapManager.getCurMapId() != mapId) {
|
||||||
throw new ErrorCodeException(ErrorCode.newDefineCode("地图错误,应进入" + mapManager.getCurMapId()));
|
throw new ErrorCodeException(ErrorCode.newDefineCode("地图错误,应进入" + mapManager.getCurMapId()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue