mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-04 06:28:51 +00:00
Added return to catching writer failure.
(cherry picked from commit 861868e7d8)
This commit is contained in:
1 parent
91742bb24e
commit
9e60eff516
1 file changed
+1
@@ -38,6 +38,7 @@ public class DataManager {
|
|||||||
writer = new PrintWriter(file);
|
writer = new PrintWriter(file);
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
Main.warLogger.log("Encountered error when creating PrintWriter for " + filePath);
|
Main.warLogger.log("Encountered error when creating PrintWriter for " + filePath);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options == null) {
|
if (options == null) {
|
||||||
|
|||||||
Reference in new issue
Block a user