GameLogger Create Dir If Doesn't Exist (#628)

This commit is contained in:
Josh Shippam authored and GitHub committed 2023-02-24 02:45:34 +00:00
1 parent 83b2c119b3
commit 48d3f64795
1 file changed
+2
@@ -95,6 +95,8 @@ public class GameLogger {
if (!log.exists()) {
try {
if(!log.getParentFile().exists())
log.getParentFile().mkdirs();
log.createNewFile();
} catch (IOException e) {
e.printStackTrace();