wrong list

This commit is contained in:
Zlatin Balevsky
2019-07-06 11:28:04 +01:00
parent 0a8016dea7
commit 066ee2c96d

View File

@@ -58,7 +58,7 @@ class Pieces {
int rv = available.first()
return [rv, partials.getOrDefault(rv, 0), 1]
}
List<Integer> toList = available.toList()
List<Integer> toList = availableCopy.toList()
Collections.shuffle(toList)
int rv = toList[0]
claimed.set(rv)