mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-03 15:43:35 +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)) {
|
||||||
welcomeMessageConfiguration.sendWelcomeMessage(player);
|
bukkitService.scheduleSyncTaskFromOptionallyAsyncTask(() -> {
|
||||||
|
welcomeMessageConfiguration.sendWelcomeMessage(player);
|
||||||
|
});
|
||||||
|
|
||||||
// Skip if registration is optional
|
// Skip if registration is optional
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user