mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-18 14:47:47 +01:00
1.13 compatible
This commit is contained in:
parent
d4bcec1db4
commit
38711a9913
@ -200,7 +200,7 @@ public class LuckPermsHandler implements PermissionHandler {
|
||||
@Override
|
||||
public void loadUserData(String name) throws PermissionLoadUserException {
|
||||
try {
|
||||
UUID uuid = luckPermsApi.getStorage().getUUID(name).get(5, TimeUnit.SECONDS);
|
||||
UUID uuid = luckPermsApi.getUserManager().lookupUuid(name).get(5, TimeUnit.SECONDS);
|
||||
loadUserData(uuid);
|
||||
} catch (InterruptedException | ExecutionException | TimeoutException e) {
|
||||
throw new PermissionLoadUserException("Unable to load the permission data of the user " + name, e);
|
||||
|
@ -4,6 +4,7 @@ website: ${project.url}
|
||||
description: ${project.description}
|
||||
main: ${bukkitplugin.main}
|
||||
version: ${bukkitplugin.version}
|
||||
api-version: 1.13
|
||||
softdepend:
|
||||
- Vault
|
||||
- LuckPerms
|
||||
|
Loading…
Reference in New Issue
Block a user