Skip to content

Commit

Permalink
Removed writing mode from config builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkoSammy12 committed Feb 12, 2024
1 parent abc409b commit 1c8a34e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import com.electronwill.nightconfig.core.CommentedConfig;
import com.electronwill.nightconfig.core.file.CommentedFileConfig;
import com.electronwill.nightconfig.core.file.GenericBuilder;
import com.electronwill.nightconfig.core.io.ParsingMode;
import com.electronwill.nightconfig.core.io.WritingMode;
import com.electronwill.nightconfig.toml.TomlFormat;
import com.mojang.brigadier.context.CommandContext;
import net.fabricmc.loader.api.FabricLoader;
Expand Down Expand Up @@ -32,7 +30,6 @@ private ConfigManager(){}
builder = CommentedFileConfig.builder(CONFIG_PATH, TomlFormat.instance())
.preserveInsertionOrder()
.concurrent()
.writingMode(WritingMode.REPLACE)
.sync();
} catch (Throwable throwable){
CreeperHealing.LOGGER.info("Unable to initialize config: {}", throwable.getMessage());
Expand Down

0 comments on commit 1c8a34e

Please sign in to comment.