森罗幻境完成初版2

back_recharge
duhui 2022-08-18 16:16:00 +08:00
parent dcc9f3331d
commit 4c9c1e1841
1 changed files with 3 additions and 4 deletions

View File

@ -3134,10 +3134,9 @@ public class MapLogic {
MapManager manager = user.getMapManager();
TrialInfo trialInfo = manager.getTrialInfo();
//是否是可以扫荡的层数
int floor = trialInfo.getFloor();
// if (floor > trialInfo.getCleanFloor()){
// throw new ErrorCodeException(ErrorCode.SERVER_DEFINE,"当前层数无法扫荡");
// }
if (trialInfo.getFloor() > trialInfo.getCleanFloor()){
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE,"当前层数无法扫荡");
}
// 事件点
Map<Integer, List<Integer>> eventMap = manager.getTrialInfo().getEventMap();
if (eventMap.isEmpty()){