MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / setupDirs

Method setupDirs

The 5zig Mod/src/eu/the5zig/mod/The5zigMod.java:289–294  ·  view source on GitHub ↗

Creates some directories if they do not exist. @throws IOException if there was a problem creating new directories.

()

Source from the content-addressed store, hash-verified

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.

Callers 1

initMethod · 0.95

Calls 1

createDirMethod · 0.95

Tested by

no test coverage detected