时间屏蔽 被动技bug
parent
336ec10895
commit
d66bee14fc
|
@ -395,11 +395,11 @@ public class GMRequestHandler extends BaseHandler{
|
|||
Runtime.getRuntime().exec(cmd);
|
||||
} else {// Linux 系统
|
||||
// 格式:yyyyMMdd
|
||||
cmd = " date -s "+ dataLinux;
|
||||
Runtime.getRuntime().exec(cmd);
|
||||
// 格式 HH:mm:ss
|
||||
cmd = " date -s "+ time;
|
||||
Runtime.getRuntime().exec(cmd);
|
||||
// cmd = " date -s "+ dataLinux;
|
||||
// Runtime.getRuntime().exec(cmd);
|
||||
// // 格式 HH:mm:ss
|
||||
// cmd = " date -s "+ time;
|
||||
// Runtime.getRuntime().exec(cmd);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOGGER.error("update->uid={},msg={}", uid, e.getMessage(), e);
|
||||
|
|
|
@ -1437,7 +1437,7 @@ public class HeroLogic{
|
|||
Map<Integer, Integer> heroSkillAdMap = new HashMap<>();
|
||||
heroSkillList.forEach(skill->{
|
||||
SPassiveSkillLogicConfig config = SPassiveSkillLogicConfig.getConfig(skill);
|
||||
if(config.getValue()[2] !=4){
|
||||
if(null!=config.getValue()&&config.getValue().length>2&&config.getValue()[2] !=4){
|
||||
PassiveskillCalEnum.calEnumMap.get(config.getType()).getPassiveSkillProcessor().process(config,hero,heroSkillAdMap);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue