mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +01:00
Whoops, wasn't thread safe #1344
This commit is contained in:
parent
3d08e1bae5
commit
10c09dbf17
@ -130,7 +130,9 @@ public class AsynchronousJoin implements AsynchronousProcess {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (!service.getProperty(RegistrationSettings.FORCE)) {
|
} else if (!service.getProperty(RegistrationSettings.FORCE)) {
|
||||||
|
bukkitService.scheduleSyncTaskFromOptionallyAsyncTask(() -> {
|
||||||
welcomeMessageConfiguration.sendWelcomeMessage(player);
|
welcomeMessageConfiguration.sendWelcomeMessage(player);
|
||||||
|
});
|
||||||
|
|
||||||
// Skip if registration is optional
|
// Skip if registration is optional
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user