From 2227aaf4cdee9535dedc28d570d6fdf2d38d1fe3 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 21 Jul 2015 17:30:10 +0200 Subject: Added lots of cardbase tests, refactored a little bit, will need to completely rework the way counts are done --- src/eu/equalparts/cardbase/cli/CardbaseCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3