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

This commit is contained in:
Josh Shippam
2023-02-24 02:45:34 +00:00
committed by GitHub
parent 83b2c119b3
commit 48d3f64795
@@ -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();