1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

More feedback message on plugin disable

This commit is contained in:
Zrips 2023-12-19 13:38:02 +02:00
parent 99ff0a3400
commit 70303080b6

View File

@ -780,7 +780,6 @@ public final class Jobs extends JavaPlugin {
CMIScheduler.get().runTask(() -> new HookPermissionTask(Permission.class)); CMIScheduler.get().runTask(() -> new HookPermissionTask(Permission.class));
} }
dao.loadBlockProtection(); dao.loadBlockProtection();
getExploreManager().load(); getExploreManager().load();
getCommandManager().fillCommands(); getCommandManager().fillCommands();
@ -925,11 +924,14 @@ public final class Jobs extends JavaPlugin {
if (pManager != null) { if (pManager != null) {
pManager.removePlayerAdditions(); pManager.removePlayerAdditions();
CMIMessages.consoleMessage("&eCleared boss bar cache");
pManager.saveAll(); pManager.saveAll();
CMIMessages.consoleMessage("&eSaved player data");
} }
if (dao != null) { if (dao != null) {
dao.closeConnections(); dao.closeConnections();
CMIMessages.consoleMessage("&eClosed database connection");
} }
CMIMessages.consoleMessage(suffix); CMIMessages.consoleMessage(suffix);