车迟斗法过时提示

lvxinran 2020-12-30 00:25:48 +08:00
parent 697e2892a8
commit 23f35b428e
1 changed files with 2 additions and 2 deletions

View File

@ -51,10 +51,10 @@ public class FastChallengeHandler extends BaseHandler<FightInfoProto.FastFightCh
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE);
}
if(type == 2 && GuildFightLogic.carDelayProgressIndication.getProgress()!=3) {
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE);
throw new ErrorCodeException(ErrorCode.GAIN_MISS);
}
if(type == 1 && GuildFightLogic.carDelayProgressIndication.getProgress()!=1) {
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE);
throw new ErrorCodeException(ErrorCode.CHALLENGE_MISS);
}
if(user.getPlayerInfoManager().getGuildId() == 0){
throw new ErrorCodeException(ErrorCode.FAMILY_NO);