Run status-command in separate thread

This commit is contained in:
Lukas Rieger (Blue) 2023-05-15 17:40:47 +02:00
parent 083c6c06c2
commit e2037e9698
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 4 additions and 1 deletions

View File

@ -311,7 +311,10 @@ public class Commands<S> {
return 0;
}
source.sendMessages(helper.createStatusMessage());
new Thread(() -> {
source.sendMessages(helper.createStatusMessage());
}, "BlueMap-Plugin-StatusCommand").start();
return 1;
}