Changed database to not be static

This commit is contained in:
Stijn committed 2021-11-17 19:32:21 +01:00
1 parent 34f83f20a1
commit dec8b50317
2 files changed
+40 -13

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ public class VillagerUI extends JavaPlugin {
WorthConfig.reload();
if (!setupEconomy())
return;
Database.init();
Database.getDatabase().init();
Logger.info("--------------------------------------------------");
Logger.info("Villager UI started");
Logger.info("--------------------------------------------------");