Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOxorn committed May 28, 2022
1 parent fdb66de commit 31f3fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulation/Simulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public static <C extends Collection<Scenario>> ArrayList<Scenario> purify_forest
*
* @return created hand, backed ({@link ArrayList#subList(int, int)}) by the original deck
*/
public synchronized static <R extends Reservable> ArrayList<R> draw_hand(final int HAND_SIZE, final ArrayList<R> DECK)
public static <R extends Reservable> ArrayList<R> draw_hand(final int HAND_SIZE, final ArrayList<R> DECK)
{
Collections.shuffle(DECK);
return new ArrayList<R>(DECK.subList(0, HAND_SIZE));
Expand Down

0 comments on commit 31f3fd6

Please sign in to comment.