Skip to content

Commit

Permalink
Revert CommentedConfiguration to original version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Jul 16, 2024
1 parent a33b050 commit 29713c8
Show file tree
Hide file tree
Showing 2 changed files with 471 additions and 461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import dev.mrshawn.deathmessages.utils.CommentedConfiguration;

import java.io.File;
import java.io.IOException;
import java.util.Date;

public class Messages {
Expand Down Expand Up @@ -63,7 +64,7 @@ public void initialize() {
config = CommentedConfiguration.loadConfiguration(file);
try {
config.syncWithConfig(file, DeathMessages.getInstance().getResource(fileName + ".yml"), "none");
} catch (Exception e) {
} catch (IOException e) {
DeathMessages.LOGGER.error(e);
}
}
Expand Down
Loading

0 comments on commit 29713c8

Please sign in to comment.