diff --git a/src/main/java/xd/arkosammy/creeperhealing/config/ConfigManager.java b/src/main/java/xd/arkosammy/creeperhealing/config/ConfigManager.java index 3679af0..d2091a8 100644 --- a/src/main/java/xd/arkosammy/creeperhealing/config/ConfigManager.java +++ b/src/main/java/xd/arkosammy/creeperhealing/config/ConfigManager.java @@ -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; @@ -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());