Permission Cache not refreshing on change
Closed this issue ยท 1 comments
Currently in v5, any permission changes I set via API are not reflected in permission cache until the current cached data expires.
group.getCachedData().invalidate();
for (User user :this.luckPermsApi.getUserManager().getLoadedUsers()) {
user.getCachedData().invalidate();
}
To work around this issue in the past, I would force a cache invalidation on permission set as shown above but this does not work with v5.
Tested using LP 5.0.37