//跨服聊天提交

back_recharge
mengchengzhen 2021-07-29 10:38:05 +08:00
parent b1551e6b75
commit d38412726d
1 changed files with 1 additions and 5 deletions

View File

@ -542,11 +542,7 @@ public class CBean2Proto {
chatInfo.setMessageId(messageId);
chatInfo.setUserTitle(playerInfoManager.getUserTitle());
chatInfo.setPracticeLevel(user.getHeroManager().getPracticeLevel());
try {
chatInfo.setServerName(CrossServiceLogic.getInstance().findServerName(GameApplication.serverId));
} catch (UnknownHostException e) {
e.printStackTrace();
}
chatInfo.setServerName(CrossServiceLogic.getInstance().findServerName(GameApplication.serverId));
return chatInfo.build();
}