新礼包

back_recharge
mengchengzhen 2021-04-30 00:32:48 +08:00
parent 95a338f07f
commit cf1b1df861
2 changed files with 2 additions and 1 deletions

View File

@ -4543,7 +4543,7 @@ public class HeroLogic{
int fiveStarNum = 0;
for(int[] i : getHeros){
SCHero scHero = SCHero.getsCHero().get(i[0]);
if(scHero.getStar()==5){
if(scHero != null && scHero.getStar()==5){
fiveStarNum++;
}
}

View File

@ -24,5 +24,6 @@ public class UserLevelEventProcessor implements BaseGameEventProcessor{
ISession session = OnlineUserManager.getSessionByUid(user.getId());
BuyGoodsNewLogic.openPush(session,user,3,upLevel,0);
BuyGoodsNewLogic.sendGiftGooodsIndication(user.getId());
}
}