mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-26 01:04:27 +00:00
Improve the behaviour of the APIs (now somewhat redundant) holder refresh method
This commit is contained in:
2 files changed
+4
-1
No files matched your search
+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