@Override
    default @NonNull @Unmodifiable Set<Node> getDataBefore() {
        // Get data after, then reverse the action
        Set<Node> nodes = new HashSet<>(this.getDataAfter());
        nodes.addAll(this.getNodes());
        return Collections.unmodifiableSet(nodes);
    }
Gets the nodes that were cleared

@return the nodes that were removed
@since 5.3
api/src/main/java/net/luckperms/api/event/node/NodeClearEvent.java