新礼包
parent
95a338f07f
commit
cf1b1df861
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue