1.13 compatible

This commit is contained in:
Gabriele C 2018-07-16 13:57:14 +02:00
parent d4bcec1db4
commit 38711a9913
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -4,6 +4,7 @@ website: ${project.url}
description: ${project.description}
main: ${bukkitplugin.main}
version: ${bukkitplugin.version}
api-version: 1.13
softdepend:
- Vault
- LuckPerms