aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2015-07-21 17:30:10 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2015-07-21 17:30:10 +0200
commit2227aaf4cdee9535dedc28d570d6fdf2d38d1fe3 (patch)
tree16a977ed9ef8f0005532846ddc79107f2ca1f043 /src/eu/equalparts
parentbb39caaac2d951424f7535eb548a2c09bb75083c (diff)
Added lots of cardbase tests, refactored a little bit, will need to completely rework the way counts are done
Diffstat (limited to 'src/eu/equalparts')
-rw-r--r--src/eu/equalparts/cardbase/cli/CardbaseCLI.java2
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;