mirror of https://github.com/zlatinb/muwire
wrong list
parent
0a8016dea7
commit
066ee2c96d
|
@ -58,7 +58,7 @@ class Pieces {
|
||||||
int rv = available.first()
|
int rv = available.first()
|
||||||
return [rv, partials.getOrDefault(rv, 0), 1]
|
return [rv, partials.getOrDefault(rv, 0), 1]
|
||||||
}
|
}
|
||||||
List<Integer> toList = available.toList()
|
List<Integer> toList = availableCopy.toList()
|
||||||
Collections.shuffle(toList)
|
Collections.shuffle(toList)
|
||||||
int rv = toList[0]
|
int rv = toList[0]
|
||||||
claimed.set(rv)
|
claimed.set(rv)
|
||||||
|
|
Loading…
Reference in New Issue