跨服服务器

zhangshanxue 2021-02-08 01:06:51 +08:00
parent b7b1154a68
commit e004d4d76c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class ViewHeroInfoHandler extends BaseHandler<PlayerInfoProto.ViewHeroInf
@Override
public void processWithProto(ISession iSession, PlayerInfoProto.ViewHeroInfoRequest proto) throws Exception {
SArenaRobotConfig sArenaRobotConfig = SArenaRobotConfig.getsArenaRobotConfigById(Integer.valueOf(proto.getHeroId()));
SArenaRobotConfig sArenaRobotConfig = SArenaRobotConfig.getsArenaRobotConfigById(proto.getTargetUid());
if(sArenaRobotConfig!=null){
PlayerLogic.getInstance().viewRobotHeroInfo(iSession,sArenaRobotConfig,proto.getHeroId());
return;