Add additional call to invalidate cached data during a sync task

This commit is contained in:
Luck 2020-02-03 00:30:18 +00:00
parent 26de6cf86f
commit 7a624fb449
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -80,6 +80,10 @@ public class SyncTask implements Runnable {
this.plugin.performPlatformDataSync();
// Just to be sure...
this.plugin.getGroupManager().invalidateAllGroupCaches();
this.plugin.getUserManager().invalidateAllUserCaches();
this.plugin.getEventDispatcher().dispatchPostSync();
}