mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-28 10:15:57 +00:00
Include whether a node is normal/transient in InheritanceOriginMetadata
This commit is contained in:
5 files changed
+28
-7
No files matched your search
+10
@@ -26,6 +26,7 @@
|
||||
package net.luckperms.api.node.metadata.types;
|
||||
|
||||
import net.luckperms.api.model.PermissionHolder;
|
||||
import net.luckperms.api.model.data.DataType;
|
||||
import net.luckperms.api.node.Node;
|
||||
import net.luckperms.api.node.metadata.NodeMetadataKey;
|
||||
|
||||
@@ -56,6 +57,15 @@ public interface InheritanceOriginMetadata {
|
||||
*/
|
||||
PermissionHolder.@NonNull Identifier getOrigin();
|
||||
|
||||
/**
|
||||
* Gets the {@link DataType type} of the {@link net.luckperms.api.model.data.NodeMap}
|
||||
* the node was inherited from.
|
||||
*
|
||||
* @return the type of the NodeMap the node was inherited from.
|
||||
* @since 5.4
|
||||
*/
|
||||
@NonNull DataType getDataType();
|
||||
|
||||
/**
|
||||
* Gets whether the associated node was inherited from another holder.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user