大闹天宫刷新时间

back_recharge
zhangshanxue 2020-09-18 18:31:08 +08:00
parent c8913cb5ac
commit 0b3715aae1
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class CommonStaticConfig extends AbstractClassStaticConfig {
sGlobalSystemConfig.setSeasonOpenLong(timeInMillis + Integer.parseInt(sGlobalSystemConfig.getSeasonOpen()) * 1000L);
sGlobalSystemConfig.setSeasonEndLong(timeInMillis + Integer.parseInt(sGlobalSystemConfig.getSeasonEnd()) * 1000L);
}else if( 5 == sGlobalSystemConfig.getType()){
long cacheOpenTime = GameApplication.serverConfig.getCacheOpenTime();
long cacheOpenTime =TimeUtils.parseTimeToMiles(sGlobalSystemConfig.getSystemOpen(), TimeUtils.Stand_CeHua_Data_format);
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(cacheOpenTime);
calendar.set(Calendar.HOUR_OF_DAY,5);