Skip to content

Commit

Permalink
Fixed saving-at-the-same-time issue (for the same instance of a config)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwanX1 committed Jan 22, 2023
1 parent 66d3c81 commit 1c40c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION=3.0.2
VERSION=3.0.3
GROUP=org.infernalstudios
ARTIFACT=config
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public Config build() throws IOException {
CommentedFileConfig config = CommentedFileConfig
.builder(this.path, TomlFormat.instance())
.concurrent()
.sync()
.build();

File file = this.path.toFile();
Expand Down

0 comments on commit 1c40c4b

Please sign in to comment.