Cleanup verbose handler & only send sponge OP command notification if the sender has permission

This commit is contained in:
Luck committed 2017-10-16 18:55:17 +01:00
1 parent 04d5310c04
commit aa0be40124
8 files changed
+117 -105

No files matched your search

@@ -212,8 +212,8 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin {
@Override
public void onDisable() {
permissionVault.setShutdown(true);
verboseHandler.setShutdown(true);
permissionVault.shutdown();
verboseHandler.shutdown();
getLog().info("Closing storage...");
storage.shutdown();