觉醒报空容错修改

back_recharge
lvxinran 2021-04-01 16:11:54 +08:00
parent 9c6e94b637
commit 47494f8eb1
1 changed files with 1 additions and 5 deletions

View File

@ -323,11 +323,7 @@ public class SCHero implements BaseConfig{
}
public List<Integer> getAwakSkills(int type, int id) {
if(awakSkillMap.get(type)==null){
System.out.println(this.getId()+"ccc");
System.out.println(type+"ddddd"+"id");
}
if (awakSkillMap.get(type).floorEntry(id) == null) {
if (awakSkillMap.get(type)==null||awakSkillMap.get(type).floorEntry(id) == null) {
return new ArrayList<>(0);
}
return awakSkillMap.get(type).floorEntry(id).getValue();