diff options
Diffstat (limited to 'src/esieequest/controller/commands/DoCommand.java')
-rw-r--r-- | src/esieequest/controller/commands/DoCommand.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/esieequest/controller/commands/DoCommand.java b/src/esieequest/controller/commands/DoCommand.java index 646ac2a..cb596e8 100644 --- a/src/esieequest/controller/commands/DoCommand.java +++ b/src/esieequest/controller/commands/DoCommand.java | |||
@@ -16,6 +16,11 @@ public class DoCommand implements Executable { | |||
16 | @Override | 16 | @Override |
17 | public void execute(final String argument, final Game game, final Viewable view) { | 17 | public void execute(final String argument, final Game game, final Viewable view) { |
18 | 18 | ||
19 | if (!argument.isEmpty()) { | ||
20 | view.echo(Text.TOO_MANY_ARGUMENTS.toString()); | ||
21 | return; | ||
22 | } | ||
23 | |||
19 | final Side currentSide = game.getPlayer().getCurrentSide(); | 24 | final Side currentSide = game.getPlayer().getCurrentSide(); |
20 | 25 | ||
21 | if (currentSide.hasCharacter()) { | 26 | if (currentSide.hasCharacter()) { |