From 2d0bfbdf319c6a4680006eca33826c7b6299383f Mon Sep 17 00:00:00 2001 From: GlennFolker Date: Mon, 2 Nov 2020 08:20:55 +0700 Subject: [PATCH] =?UTF-8?q?b=CC=8C=CB=8A=CC=8B=CC=80=E2=80=AE=E2=80=8E?= =?UTF-8?q?=CC=80=E2=80=8F=E2=80=AA=CB=8A=E2=80=AE=E2=80=8E=CB=8A=E2=80=8F?= =?UTF-8?q?=E2=80=AA=CB=87=E2=80=AE=E2=80=8E=CB=87=E2=80=8F=E2=80=AA=CB=8A?= =?UTF-8?q?u=CD=99=CC=97=CB=8C=CC=80=CA=B5=CB=89=CB=86g=CB=8F=CC=80=CD=99?= =?UTF-8?q?=CB=8C=CB=88=CD=92=CD=A3f=CC=A9=CC=A7=CC=BA=CC=85=CD=A0=CC=83?= =?UTF-8?q?=CB=91i=CB=93=CB=96=CD=8A=CB=8A=CB=90=CB=8A=CB=86x=CB=89=CC=B8?= =?UTF-8?q?=CB=93=CC=A6=CD=A8=CB=86=CC=B4e=CB=87=CC=B6=CC=A0=CD=81=CB=A2?= =?UTF-8?q?=CB=8E=CB=94s=CC=81=CC=81=CC=96=CC=85=CC=99=CB=87=CC=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/namegen/NameGen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){