mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Always fire SubjectDataUpdateEvent async
This commit is contained in:
parent
68e4d36f40
commit
f93e8fdccd
@ -39,7 +39,9 @@ public class UpdateEventHandlerImpl implements UpdateEventHandler {
|
||||
|
||||
@Override
|
||||
public void fireUpdateEvent(LPSubjectData subjectData) {
|
||||
this.plugin.getBootstrap().getScheduler().doAsync(() -> {
|
||||
SubjectDataUpdateEvent event = new LPSubjectDataUpdateEvent(this.plugin, subjectData);
|
||||
this.plugin.getBootstrap().getGame().getEventManager().post(event);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user