Make some control panel happy

Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
This commit is contained in:
Jaida Wu 2022-04-23 16:47:13 +08:00
parent ea9cda21e2
commit 46f40a9012
No known key found for this signature in database
GPG Key ID: 2A5EF9CA5CD6B350

View File

@ -118,6 +118,7 @@ public final class Grasscutter {
public static void startConsole() {
String input;
getLogger().info("Done! For help, type \"help\"");
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
while ((input = br.readLine()) != null) {
try {