公会提示
parent
40b43048b5
commit
c91544f1b6
|
|
@ -139,7 +139,6 @@ public enum ErrorCode implements IErrorCode {
|
||||||
MAP_IN(105,"在地图探索中,不可以操作"),
|
MAP_IN(105,"在地图探索中,不可以操作"),
|
||||||
HERO_LIVE_AGAIN(106,"英雄{0}秒后复活"),
|
HERO_LIVE_AGAIN(106,"英雄{0}秒后复活"),
|
||||||
REWARD_COLLECTING(107,"奖励正在积攒中!"),
|
REWARD_COLLECTING(107,"奖励正在积攒中!"),
|
||||||
JOINED_OTHER_FAMILY(108,"您已加入其他公会,无法创建公会!")
|
|
||||||
|
|
||||||
;
|
;
|
||||||
private static final Set<Integer> CodeSet = new HashSet<>();
|
private static final Set<Integer> CodeSet = new HashSet<>();
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ public class GuildLogic {
|
||||||
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
|
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
if(user.getPlayerInfoManager().getGuildId()!=0){
|
if(user.getPlayerInfoManager().getGuildId()!=0){
|
||||||
throw new ErrorCodeException(ErrorCode.JOINED_OTHER_FAMILY);
|
throw new ErrorCodeException(ErrorCode.FAMILY_IN);
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue