diff --git a/src/namegen/NameGen.java b/src/namegen/NameGen.java index 8f2c568..4d5898b 100644 --- a/src/namegen/NameGen.java +++ b/src/namegen/NameGen.java @@ -15,7 +15,7 @@ public static synchronized void main(String[] args){ System.out.print("Generate? (y/n): "); String input = reader.readLine(); - if(input.length() == 1){ + if(input.length() > 0){ char option = input.charAt(0); switch(option){