9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-25 18:19:14 +00:00

Fix compat error by continuing the throw from Java's fileReader class

This commit is contained in:
CocoTheOwner
2021-01-30 16:42:07 +01:00
parent 4e670f85f5
commit 4fa8fff3db

View File

@@ -406,7 +406,13 @@ public class IO
public static String readAll(File f) throws IOException
{
BufferedReader bu = new BufferedReader(new FileReader(f));
FileReader fr;
try {
fr = new FileReader(f);
} catch (IOException e) {
throw new IOException(e);
}
BufferedReader bu = new BufferedReader(fr);
String c = "";
String l = "";