Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
PTOM76 committed Sep 20, 2024
1 parent 66f976c commit 4166ca4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ public class ItemAlchemyConfig {
public static void init() {
removeDataFromCopyStack = config.getBooleanOrCreate("remove_data_from_copy_stack", true);

if (!file.exists() || !file.isFile())
save();
if (!file.exists() || !file.isFile()) {
if (file.mkdirs())
save();
}
}

public static boolean isRemoveDataFromCopyStack() {
Expand Down

0 comments on commit 4166ca4

Please sign in to comment.