mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-24 09:11:20 +01:00
Run status-command in separate thread
This commit is contained in:
parent
083c6c06c2
commit
e2037e9698
@ -311,7 +311,10 @@ public int statusCommand(CommandContext<S> context) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
source.sendMessages(helper.createStatusMessage());
|
new Thread(() -> {
|
||||||
|
source.sendMessages(helper.createStatusMessage());
|
||||||
|
}, "BlueMap-Plugin-StatusCommand").start();
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user