mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
refactor: Move to ConfigLib, use lombok (#563)
* refactor: move to configlib, adjust config structure * fix: huskclaims typos * fix: don't generate `server.yml` in local mode * fix: NPE with server name
This commit is contained in:
1 parent
c55631a30d
commit
1723aa44fc
84 files changed
+4334
-4832
No files matched your search
@@ -58,7 +58,7 @@ public class H2Database extends Database {
|
||||
|
||||
public H2Database(@NotNull HuskHomes plugin) {
|
||||
super(plugin);
|
||||
this.databaseFile = new File(plugin.getDataFolder(), DATABASE_FILE_NAME);
|
||||
this.databaseFile = plugin.getConfigDirectory().resolve(DATABASE_FILE_NAME).toFile();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user