Skip to content

Commit

Permalink
+ [1.90-R9] Fix database
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsFlicker committed Mar 23, 2022
1 parent db919eb commit 38ccb1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=me.arasple.mc.trchat
version=1.90-R8
version=1.90-R9
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import java.io.File
object Database {

fun init() {
if (settings.getBoolean("database.enable")) {
setupPlayerDatabase(settings.getConfigurationSection("database")!!)
if (settings.getBoolean("GENERAL.DATABASE.enable")) {
setupPlayerDatabase(settings.getConfigurationSection("GENERAL.DATABASE")!!)
} else {
setupPlayerDatabase(newFile(File(getDataFolder(), "data"), "data.db"))
}
Expand Down

0 comments on commit 38ccb1b

Please sign in to comment.