Updated Developer API (markdown)

Luck 2017-12-01 23:43:59 +00:00
parent 481bd89d88
commit d1342f0388

@ -356,9 +356,7 @@ public boolean addPermission(User user, String permission) {
System.out.println("Successfully set permission!");
// refresh the user's permissions, so the change is "live"
// this method is blocking, but it's fine, because this callback is
// ran async.
user.refreshPermissions();
user.refreshCachedData();
}, api.getStorage().getAsyncExecutor());