diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-07-21 17:30:10 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-07-21 17:30:10 +0200 |
commit | 2227aaf4cdee9535dedc28d570d6fdf2d38d1fe3 (patch) | |
tree | 16a977ed9ef8f0005532846ddc79107f2ca1f043 /src | |
parent | bb39caaac2d951424f7535eb548a2c09bb75083c (diff) |
Added lots of cardbase tests, refactored a little bit, will need to completely rework the way counts are done
Diffstat (limited to 'src')
-rw-r--r-- | src/eu/equalparts/cardbase/cli/CardbaseCLI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java index bbc0089..e1b912d 100644 --- a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java +++ b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java @@ -420,8 +420,8 @@ public class CardbaseCLI { * count field to determine the count to add. */ private void addCard(Card card) { - cardbase.addCard(card); System.out.println("Added " + card.count + "x " + card.name + "."); + cardbase.addCard(card); savePrompt = true; lastAction = Action.ADD; lastAction.card = card; |