Skip to content

Commit

Permalink
Simplify saving messages folder even further
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Oct 28, 2024
1 parent aed6454 commit cfc36df
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class MessageManager(plugin: FileManagedPlugin) {
private val messagesFolder: File

init {
plugin.getFileManager().saveResourceFolder("messages", !plugin.config.getBoolean("messages.enable-customisation", false))

messagesFolder = File(plugin.dataFolder, "messages")
messagesFolder = plugin.getFileManager().saveResourceFolder("messages", !plugin.config.getBoolean("messages.enable-customisation", false))
}
}

0 comments on commit cfc36df

Please sign in to comment.