Started work on using data-lock for database queries

This commit is contained in:
Stijn committed 2022-05-11 22:01:22 +02:00
1 parent 82fbe5370c
commit bd8c6f414c
8 files changed
+96 -16

No files matched your search

+2
View File
@@ -44,6 +44,8 @@ public class VillagerUI extends JavaPlugin {
return;
Database.getDatabase().init();
scheduleTasks();
getServer().getMessenger().registerOutgoingPluginChannel(this, "VillagerUI:player-data");
getServer().getMessenger().registerIncomingPluginChannel(this, "VillagerUI:player-data", new PluginMessageListener());
Logger.info("--------------------------------------------------");
Logger.info("Villager UI started");
Logger.info("--------------------------------------------------");