private void sendUpdate(UUID uniqueId) {
        this.plugin.getBootstrap().getScheduler().sync()
                .execute(() -> this.plugin.getBootstrap().getPlayer(uniqueId)
                    .ifPresent(player -> this.plugin.getBootstrap().getServer()
                        .ifPresent(server -> {
                            server.getPlayerManager().sendCommandTree(player);
                        })
                    )
                );
    }
Calls {@link net.minecraft.server.PlayerManager#sendCommandTree()} when a players permissions change.

TODO: Extract base class for this and BukkitCommandListUpdater
fabric/src/main/java/me/lucko/luckperms/fabric/listeners/FabricCommandListUpdater.java