public Difference<Node> setNodes(DataType type, Difference<Node> changes, boolean callEvent) {
        Difference<Node> res = getData(type).applyChanges(changes);
        invalidateCache();
        if (callEvent) {
            getPlugin().getEventDispatcher().dispatchNodeChanges(this, type, res);
        }
        return res;
    }
Returns the type of this PermissionHolder.

@return this holders type
common/src/main/java/me/lucko/luckperms/common/model/PermissionHolder.java