From 62c6e791186274804d0c1054ed849cc72a096c31 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 4 Sep 2017 21:32:56 +0100 Subject: [PATCH] Updated Developer API (markdown) --- Developer-API.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Developer-API.md b/Developer-API.md index a483f97..ac8ccea 100644 --- a/Developer-API.md +++ b/Developer-API.md @@ -246,6 +246,9 @@ api.getStorage().loadUser(uuid).thenComposeAsync(success -> { ``` ### Checking a permission for an offline user +The below method will allow you to check an offline player for a permission. It also works for online users. + +Note that the method below is a blocking lookup, and should **only be used from an async task**. ```java public static boolean hasPermission(LuckPermsApi api, UUID uuid, String permission) {