diff --git a/src/main/java/fr/xephi/authme/permission/handlers/LuckPermsHandler.java b/src/main/java/fr/xephi/authme/permission/handlers/LuckPermsHandler.java index 25a8b8dc5..63e862524 100644 --- a/src/main/java/fr/xephi/authme/permission/handlers/LuckPermsHandler.java +++ b/src/main/java/fr/xephi/authme/permission/handlers/LuckPermsHandler.java @@ -49,7 +49,12 @@ public class LuckPermsHandler implements PermissionHandler { return getUser(player); } - UUID uuid = luckPermsApi.getStorage().getUUID(playerName).join(); + UUID uuid = null; + try { + uuid = luckPermsApi.getStorage().getUUID(playerName).get(1, TimeUnit.SECONDS); + } catch (InterruptedException | ExecutionException | TimeoutException e) { + e.printStackTrace(); + } if (uuid == null) { return null; }