Kill console on IOError

This commit is contained in:
AnimeGitB 2022-11-04 13:54:56 +10:30
parent c926fe326c
commit 0fb7d50acd

View File

@ -293,8 +293,8 @@ public final class Grasscutter {
Grasscutter.getLogger().info("EOF detected.");
continue;
} catch (IOError e) {
Grasscutter.getLogger().error("An IO error occurred.", e);
continue;
Grasscutter.getLogger().error("An IO error occurred while trying to read from console.", e);
return;
}
isLastInterrupted = false;