Run status-command in separate thread
This commit is contained in:
parent
083c6c06c2
commit
e2037e9698
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue