森罗幻境重置商人

lvxinran 2020-08-22 05:02:27 +08:00
parent 7c9a366149
commit a8087e7b84
1 changed files with 2 additions and 1 deletions

View File

@ -2819,7 +2819,7 @@ public class MapLogic {
*/
public void checkTrialReset(User user) throws Exception {
MapManager mapManager = user.getMapManager();
StoreManager storeManager = user.getStoreManager();
//判断试炼本是否跨了周期
TrialInfo trialInfo = mapManager.getTrialInfo();
TimeControllerOfFunction openTimeOfFuntionCacheByType = GlobalDataManaager.getInstance().getOpenTimeOfFuntionCacheByType(FunctionIdEnum.Trial);
@ -2845,6 +2845,7 @@ public class MapLogic {
resetMapInfo(user,false);
}
}
storeManager.removeStoreInfo(8);
mapManager.setTrialInfo(trialInfo);
}