Attempt to fix the directory issue again
This commit is contained in:
parent
ba007edb67
commit
e771155a2b
4 changed files with 5 additions and 2 deletions
|
@ -66,6 +66,7 @@ public class LibZontreck {
|
|||
|
||||
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
MinecraftForge.EVENT_BUS.register(new ForgeEventBus());
|
||||
MinecraftForge.EVENT_BUS.register(DelayedExecutorService.getInstance());
|
||||
}
|
||||
|
||||
|
|
|
@ -36,8 +36,10 @@ public class Profile {
|
|||
{
|
||||
try {
|
||||
Files.createDirectory(BASE);
|
||||
LibZontreck.LOGGER.info("Created profiles base directory");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
LibZontreck.LOGGER.error("Failed to create profiles base directory");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue