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

This commit is contained in:
Luck
2017-10-16 18:55:17 +01:00
Unverified
parent 04d5310c04
commit aa0be40124
8 changed files with 117 additions and 105 deletions
@@ -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();