大闹天宫刷新时间
parent
c8913cb5ac
commit
0b3715aae1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue