Add limit checks for t20 as well
This commit is contained in:
parent
5f2f48aae3
commit
8f928fca05
@ -395,9 +395,16 @@ public class App
|
|||||||
|
|
||||||
if (!error1) {
|
if (!error1) {
|
||||||
for (int i=0;i<20;i++) {
|
for (int i=0;i<20;i++) {
|
||||||
new Thread(
|
if (lastScores[i]==0||(
|
||||||
new SubmitThread(t20names[i],t20desc[i],t20scores[i],EVENT,i+1))
|
StringUtils.isNumeric(lowerTierScores[i])&&
|
||||||
.start();
|
lastScores[i]<Integer.parseInt(lowerTierScores[i]))) {
|
||||||
|
new Thread(
|
||||||
|
new SubmitThread(t20names[i],t20desc[i],t20scores[i],EVENT,i+1))
|
||||||
|
.start();
|
||||||
|
lastScores[i]=Integer.parseInt(lowerTierScores[i]);
|
||||||
|
} else {
|
||||||
|
System.out.println("No update required for rank "+(i+1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
System.out.println("Cannot submit t20 scores. Invalid array params.");
|
System.out.println("Cannot submit t20 scores. Invalid array params.");
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user