Fix DBProperties not writing to disk

This commit is contained in:
Paul Reilly
2023-03-19 14:11:01 -05:00
parent 31b0a8a3fe
commit c698ced937
3 changed files with 15 additions and 4 deletions

View File

@ -102,7 +102,7 @@ public final class Traverse extends JavaPlugin {
@Override
public void onEnable() {
this.SQLManager = new DBConnectionHandler(new DBProperties("db.properties"));
this.SQLManager = new DBConnectionHandler(new DBProperties(this, "db.properties"));
this.commandLoader = new CommandLoader(this, "TRAVERSE");
this.dataManager = new DataManager(this);
this.banManager = new BanManager(this);