From 579daeadf3f716a8e3ad14a8aec667f0f32819ac Mon Sep 17 00:00:00 2001 From: Jeffrey Hope Date: Sat, 7 Oct 2023 14:49:19 -0500 Subject: [PATCH] Alignment correction --- FreeCasino.iml | 6 ++++++ .../java/com/github/strangercoug/freecasino/objs/Deck.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 FreeCasino.iml diff --git a/FreeCasino.iml b/FreeCasino.iml new file mode 100644 index 0000000..2a1855b --- /dev/null +++ b/FreeCasino.iml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/main/java/com/github/strangercoug/freecasino/objs/Deck.java b/src/main/java/com/github/strangercoug/freecasino/objs/Deck.java index fa73012..f11d2ce 100644 --- a/src/main/java/com/github/strangercoug/freecasino/objs/Deck.java +++ b/src/main/java/com/github/strangercoug/freecasino/objs/Deck.java @@ -91,7 +91,7 @@ public void shuffleDeck() { for (int i = cards.size() - 1; i > 0; i--) { Card temp = cards.get(i); int j = rng.nextInt(i + 1); /* Without the +1 this becomes a Sattolo - * shuffle, which we don't want */ + * shuffle, which we don't want */ cards.set(i, cards.get(j)); cards.set(j, temp); }