关闭旧公会战

back_recharge
lvxinran 2020-06-19 13:57:45 +08:00
parent f8a2ad6a32
commit ae4d30761e
2 changed files with 3 additions and 1 deletions

View File

@ -598,7 +598,8 @@ public class GuildFightLogic {
* @throws Exception
*/
public static void familyFightStatus() throws Exception {
if(!GameApplication.serverProperties.isGuildFight()){
int isOpen = SSpecialConfig.getIntegerValue(SSpecialConfig.GUILD_WAR_ISOPEN);
if(isOpen==0){
return;
}
if (status == 2 && startMatching) {

View File

@ -65,6 +65,7 @@ public class SSpecialConfig implements BaseConfig {
public static final String EXPEDITION_REBORN = "expedition_reborn";// 大闹天宫复活道具id
public static final String REWARD_OF_WORSHIP = "reward_of_worship";//膜拜获得金币奖励
public static final String DISCOUNT_LEVEL= "discount_level";//限时折扣推送等级#推送间隔等级
public static final String GUILD_WAR_ISOPEN = "Guild_war_isopen";//老公会战是否开启
@Override
public void init() throws Exception {