Creates some directories if they do not exist. @throws IOException if there was a problem creating new directories.
()
| 287 | * @throws IOException if there was a problem creating new directories. |
| 288 | */ |
| 289 | private static void setupDirs() throws IOException { |
| 290 | FileUtils.createDir(new File(modDirectory, "sql/chatlogs")); |
| 291 | FileUtils.createDir(new File(modDirectory, "lang")); |
| 292 | FileUtils.createDir(new File(modDirectory, "skins")); |
| 293 | FileUtils.createDir(new File(modDirectory, "servers/hypixel")); |
| 294 | } |
| 295 | |
| 296 | /** |
| 297 | * Tries to load the Main Configuration File. |