战斗返回修改
parent
3952359f2b
commit
25040b3815
|
@ -105,7 +105,7 @@ public class CheckFight {
|
|||
resultCache[0]= result.get("result").tolong();
|
||||
resultCache[1]= result.get("duration").tolong();
|
||||
LOGGER.info(" lua check test fight result : {} {}", resultCache[0] , result.length());
|
||||
for (int i = 1; i <= result.length(); i++) {
|
||||
for (int i = 2; i <= result.length(); i++) {
|
||||
long talon = result.rawget(i).tolong();
|
||||
if(talon>0){
|
||||
resultCache[i]= Math.min(Long.MAX_VALUE,talon);
|
||||
|
|
Loading…
Reference in New Issue