#1413 Don't run onUnregister command in async
This commit is contained in:
@@ -120,7 +120,8 @@ public class AsynchronousUnregister implements AsynchronousProcess {
|
||||
if (player == null || !player.isOnline()) {
|
||||
return;
|
||||
}
|
||||
commandManager.runCommandsOnUnregister(player);
|
||||
bukkitService.scheduleSyncTaskFromOptionallyAsyncTask(() ->
|
||||
commandManager.runCommandsOnUnregister(player));
|
||||
|
||||
if (service.getProperty(RegistrationSettings.FORCE)) {
|
||||
teleportationService.teleportOnJoin(player);
|
||||
|
||||
Reference in New Issue
Block a user