Improve the behaviour of the APIs (now somewhat redundant) holder refresh method
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ public class ApiPermissionHolder implements me.lucko.luckperms.api.PermissionHol
|
||||
@Nonnull
|
||||
@Override
|
||||
public CompletableFuture<Void> refreshCachedData() {
|
||||
return this.handle.getCachedData().reloadAll();
|
||||
return CompletableFuture.runAsync(() -> this.handle.getCachedData().invalidateCaches());
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
|
||||
Reference in New Issue
Block a user