Started work on using data-lock for database queries
This commit is contained in:
1 parent
82fbe5370c
commit
bd8c6f414c
8 files changed
+96
-16
No files matched your search
@@ -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("--------------------------------------------------");
|
||||
|
||||
Reference in new issue
Block a user