Skip to content

Commit

Permalink
feat: rename config file to config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Mar 28, 2023
1 parent f6d749b commit 3a41e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/su/plo/voice/sculk/SculkAddon.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void onPlayerSpeak(@NotNull PlayerSpeakEvent event) {
private void loadConfig() {
try {
File addonFolder = new File(voiceServer.getConfigsFolder(), "pv-addon-sculk");
File configFile = new File(addonFolder, "sculk.toml");
File configFile = new File(addonFolder, "config.toml");

this.config = toml.load(SculkConfig.class, configFile, false);
toml.save(SculkConfig.class, config, configFile);
Expand Down

0 comments on commit 3a41e89

Please sign in to comment.