diff --git a/src/main/java/me/grax/jbytemod/res/Options.java b/src/main/java/me/grax/jbytemod/res/Options.java index f4a1fde..5b21ba4 100644 --- a/src/main/java/me/grax/jbytemod/res/Options.java +++ b/src/main/java/me/grax/jbytemod/res/Options.java @@ -86,7 +86,7 @@ public void save() { new Thread(() -> { try { if(!propFile.exists()) { - propFile.mkdirs(); + propFile.getParentFile().mkdirs(); propFile.createNewFile(); JByteMod.LOGGER.log("Prop file doesn't exist, creating."); }