back_recharge
wangyuan 2019-05-13 18:35:55 +08:00
parent 3fd33d0068
commit deab593bc3
1 changed files with 3 additions and 0 deletions

View File

@ -348,6 +348,9 @@ public class ArenaLogic {
}
private String randomSet(Set<String> infos){
if(infos == null || infos.isEmpty()){
return null;
}
int num = MathUtils.randomInt(infos.size());
for(String id : infos){
if(num-- == 0){