Skip to content

Commit e2037e9

Browse files
committed
Run status-command in separate thread
1 parent 083c6c0 commit e2037e9

File tree

1 file changed

+4
-1
lines changed
  • BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands

1 file changed

+4
-1
lines changed

BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,10 @@ public int statusCommand(CommandContext<S> context) {
311311
return 0;
312312
}
313313

314-
source.sendMessages(helper.createStatusMessage());
314+
new Thread(() -> {
315+
source.sendMessages(helper.createStatusMessage());
316+
}, "BlueMap-Plugin-StatusCommand").start();
317+
315318
return 1;
316319
}
317320

0 commit comments

Comments
 (0)