protected void unregisterHandlers(P plugin) {
        this.bus.unregister(sub -> ((LuckPermsEventSubscription<?>) sub).getPlugin() == plugin);
    }
Removes all handlers for a specific plugin

@param plugin the plugin
common/src/main/java/me/lucko/luckperms/common/event/AbstractEventBus.java