mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
better :)
Former-commit-id: d701c1c9a486d6f9f7fbe300152fb43cf9a0154e
This commit is contained in:
1 parent
78c8cc4095
commit
e3022afe65
2 files changed
+2
-2
No files matched your search
@@ -146,7 +146,7 @@ public class DatabaseManager {
|
||||
/**
|
||||
* Unload the DatabaseManager, run at onDisable()
|
||||
*/
|
||||
public void uninit() {
|
||||
public void unInit() {
|
||||
if (task != null && !task.isCancelled()) {
|
||||
task.cancel();
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@ public class QuickShop extends JavaPlugin {
|
||||
|
||||
Util.debugLog("Cleaning up database queues...");
|
||||
if (this.getDatabaseManager() != null) {
|
||||
this.getDatabaseManager().uninit();
|
||||
this.getDatabaseManager().unInit();
|
||||
}
|
||||
|
||||
Util.debugLog("Unregistering tasks...");
|
||||
|
||||
Reference in new issue
Block a user