Skip to content

Commit

Permalink
fix: Not saving default config if have no one
Browse files Browse the repository at this point in the history
  • Loading branch information
lumynou5 committed Aug 15, 2022
1 parent 73ad693 commit 2a58a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/luminous/safechat/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public void onEnable() {
Bukkit.getPluginCommand("msg").setExecutor(new ChatListener());
Bukkit.getPluginManager().registerEvents(new ChatListener(), this);

saveDefaultConfig();
config = getConfig();
saveConfig();
}

@Override
Expand Down

0 comments on commit 2a58a19

Please sign in to comment.