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
|
@Override
|
||||||
public void loadUserData(String name) throws PermissionLoadUserException {
|
public void loadUserData(String name) throws PermissionLoadUserException {
|
||||||
try {
|
try {
|
||||||
UUID uuid = luckPermsApi.getStorage().getUUID(name).get(5, TimeUnit.SECONDS);
|
UUID uuid = luckPermsApi.getUserManager().lookupUuid(name).get(5, TimeUnit.SECONDS);
|
||||||
loadUserData(uuid);
|
loadUserData(uuid);
|
||||||
} catch (InterruptedException | ExecutionException | TimeoutException e) {
|
} catch (InterruptedException | ExecutionException | TimeoutException e) {
|
||||||
throw new PermissionLoadUserException("Unable to load the permission data of the user " + name, 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}
|
description: ${project.description}
|
||||||
main: ${bukkitplugin.main}
|
main: ${bukkitplugin.main}
|
||||||
version: ${bukkitplugin.version}
|
version: ${bukkitplugin.version}
|
||||||
|
api-version: 1.13
|
||||||
softdepend:
|
softdepend:
|
||||||
- Vault
|
- Vault
|
||||||
- LuckPerms
|
- LuckPerms
|
||||||
|
Loading…
Reference in New Issue
Block a user