skip new player

wangyuan 2019-07-06 13:51:13 +08:00
parent f9b7f8b7c2
commit a76bfb8249
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ public class GetPlayerInfoHandler extends BaseHandler{
ActivityLogic.getInstance().flushForLogin(user);
RedisUtil.getInstence().set(RedisKey.USER_LOGIN_URL + userId, RPCServerTask.userCallBackUrl);
LOGGER.info("back to client!");
if(user.getPlayerInfoManager().getGuidePoints().get(1)!=-1){
user.getPlayerInfoManager().updateGuidePoint(1,-1);
}
} catch (Exception e) {
e.printStackTrace();
}