From f6a3409ed525db8c416f46ac57f3861866443c22 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Sun, 29 May 2011 20:22:45 +0200 Subject: Use correct joker colors git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@310 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneHeap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jrummikub/model/StoneHeap.java b/src/jrummikub/model/StoneHeap.java index 4ccb427..12dcc21 100644 --- a/src/jrummikub/model/StoneHeap.java +++ b/src/jrummikub/model/StoneHeap.java @@ -30,9 +30,9 @@ public class StoneHeap { ArrayList jokerColors = new ArrayList(Arrays.asList(StoneColor.values())); - StoneColor temp = jokerColors.get(0); - jokerColors.set(0, jokerColors.get(2)); - jokerColors.set(2, temp); + StoneColor temp = jokerColors.get(1); + jokerColors.set(1, jokerColors.get(3)); + jokerColors.set(3, temp); int jokersLeft = gameSettings.getJokerNumber(); done : while(true) { -- cgit v1.2.3