Browse Source

Last update

Lauren Green 6 years ago
parent
commit
a356217157
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/java/io/zipcoder/casino/Console.java

+ 1
- 1
src/main/java/io/zipcoder/casino/Console.java View File

99
 
99
 
100
     public String getCommand() {
100
     public String getCommand() {
101
         String command = "";
101
         String command = "";
102
-        String input = scanner.next();
102
+        String input = scanner.nextLine();
103
         input = input.toLowerCase().trim();
103
         input = input.toLowerCase().trim();
104
 
104
 
105
         for(String name : gameLib){
105
         for(String name : gameLib){