mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Updated Developer API (markdown)
parent
34fe0f9d7e
commit
89a4664e86
@ -405,7 +405,7 @@ Once you have a `Contexts` instance, you can start using the `UserData` object.
|
||||
The containing data is split into two separate sections, 'Permission' and 'Meta' data.
|
||||
```java
|
||||
UserData cachedData = user.getCachedData();
|
||||
Contexts contexts = null;
|
||||
Contexts contexts = ...;
|
||||
|
||||
PermissionData permissionData = cachedData.getPermissionData(contexts);
|
||||
MetaData metaData = cachedData.getMetaData(contexts);
|
||||
|
Loading…
Reference in New Issue
Block a user