Skip to content

Commit 6220b1c

Browse files
author
Michael Brunner
authored
Merge pull request #36 from MrVoltz/prop-file-fix
fix propFile creation
2 parents da5211f + a3e79e3 commit 6220b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/grax/jbytemod/res/Options.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void save() {
8686
new Thread(() -> {
8787
try {
8888
if(!propFile.exists()) {
89-
propFile.mkdirs();
89+
propFile.getParentFile().mkdirs();
9090
propFile.createNewFile();
9191
JByteMod.LOGGER.log("Prop file doesn't exist, creating.");
9292
}

0 commit comments

Comments
 (0)