mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 15:56:27 +00:00
Cleanup
This commit is contained in:
@@ -625,14 +625,11 @@ public class KList<T> extends ArrayList<T> implements List<T> {
|
||||
return get(M.irand(0, last()));
|
||||
}
|
||||
|
||||
public KList<T> popRandom(RNG rng, int c)
|
||||
{
|
||||
public KList<T> popRandom(RNG rng, int c) {
|
||||
KList<T> m = new KList<>();
|
||||
|
||||
for(int i = 0; i < c; i++)
|
||||
{
|
||||
if(isEmpty())
|
||||
{
|
||||
for (int i = 0; i < c; i++) {
|
||||
if (isEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user