公会提示

back_recharge
lvxinran 2019-11-13 16:04:56 +08:00
parent 40b43048b5
commit c91544f1b6
2 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,6 @@ public enum ErrorCode implements IErrorCode {
MAP_IN(105,"在地图探索中,不可以操作"),
HERO_LIVE_AGAIN(106,"英雄{0}秒后复活"),
REWARD_COLLECTING(107,"奖励正在积攒中!"),
JOINED_OTHER_FAMILY(108,"您已加入其他公会,无法创建公会!")
;
private static final Set<Integer> CodeSet = new HashSet<>();

View File

@ -139,7 +139,7 @@ public class GuildLogic {
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
}
if(user.getPlayerInfoManager().getGuildId()!=0){
throw new ErrorCodeException(ErrorCode.JOINED_OTHER_FAMILY);
throw new ErrorCodeException(ErrorCode.FAMILY_IN);
}
return "";
}