mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
async sql
Former-commit-id: a98c47a5739a1313d11cee15def58d1515086a80 [formerly cddebd776a5ac1e8294b3bf3df72a6897d03976d] Former-commit-id: 733f367223a556950f64fa80e48cd8a24292098e
This commit is contained in:
1 parent
558863006f
commit
61ae0f836f
2 files changed
+2
-3
No files matched your search
@@ -45,7 +45,7 @@ public class DatabaseManager {
|
||||
public void run() {
|
||||
plugin.getDatabaseManager().runTask();
|
||||
}
|
||||
}.runTaskTimer(plugin, 1, 200);
|
||||
}.runTaskTimerAsynchronously(plugin, 1, 200);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -436,9 +436,8 @@ public class QuickShop extends JavaPlugin {
|
||||
Bukkit.getPluginManager().registerEvents(lockListener,this);
|
||||
}
|
||||
if (Bukkit.getPluginManager().getPlugin("ClearLag") != null) {
|
||||
Bukkit.getServer().getPluginManager().registerEvents(new ClearLaggListener(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new ClearLaggListener(), this);
|
||||
}
|
||||
|
||||
getLogger().info("Cleaning MsgUtils...");
|
||||
MsgUtil.loadTransactionMessages();
|
||||
MsgUtil.clean();
|
||||
|
||||
Reference in new issue
Block a user