周卡月卡调整,兼容老版本月卡,四版
parent
92a63c75e3
commit
5f6e0ff20a
|
@ -1001,8 +1001,9 @@ public class PlayerManager extends MongoBase {
|
|||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
int beginOfDay = (int)(TimeUtils.getBeginOfDay(map.getValue() * 1000))/1000;
|
||||
// 结束时间
|
||||
int lastTime = map.getValue() + 24*60*60*config.getContiueDays();
|
||||
int lastTime = beginOfDay + 24*60*60*config.getContiueDays();
|
||||
if(nowInt>=lastTime){
|
||||
iterator.remove();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue