mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-10-22 20:30:34 +02:00
Add additional call to invalidate cached data during a sync task
This commit is contained in:
parent
26de6cf86f
commit
7a624fb449
@ -80,6 +80,10 @@ public class SyncTask implements Runnable {
|
|||||||
|
|
||||||
this.plugin.performPlatformDataSync();
|
this.plugin.performPlatformDataSync();
|
||||||
|
|
||||||
|
// Just to be sure...
|
||||||
|
this.plugin.getGroupManager().invalidateAllGroupCaches();
|
||||||
|
this.plugin.getUserManager().invalidateAllUserCaches();
|
||||||
|
|
||||||
this.plugin.getEventDispatcher().dispatchPostSync();
|
this.plugin.getEventDispatcher().dispatchPostSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user