public void trust(Sender sender, String hash) {
        if (sender.isConsole()) {
            trustConsole(hash);
        } else {
            User user = sender.getPlugin().getUserManager().getIfLoaded(sender.getUniqueId());
            if (user != null) {
                trust(user, hash);
            }
        }
    }
Trusts the given public key hash for the sender.

@param sender the sender
@param hash   the public key hash
common/src/main/java/me/lucko/luckperms/common/webeditor/store/WebEditorKeystore.java