大闹天宫机器人修改
parent
07cb65d63a
commit
7ced543cb1
|
@ -63,7 +63,7 @@ public class SArenaRobotStaticConfig extends AbstractClassStaticConfig {
|
|||
|
||||
Map.Entry<Integer,LinkedList<Integer>> entry = force2robotId.ceilingEntry(force);
|
||||
if(null==entry){
|
||||
LinkedList<Integer> value = force2robotId.firstEntry().getValue();
|
||||
LinkedList<Integer> value = force2robotId.lastEntry().getValue();
|
||||
int num = MathUtils.randomInt(value.size());
|
||||
return value.get(num);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue