mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
GameLogger Create Dir If Doesn't Exist (#628)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user