3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Rename FAWE Threads to be more identifiable.

Dieser Commit ist enthalten in:
MattBDev 2020-10-08 21:47:34 -04:00
Ursprung f71ca32140
Commit af3c723e0d

Datei anzeigen

@ -635,6 +635,9 @@ public final class PlatformCommandManager {
Actor actor = event.getActor();
String args = event.getArguments();
TaskManager.IMP.taskNow(() -> {
if (!Fawe.isMainThread()) {
Thread.currentThread().setName("FAWE Thread for player: " + actor.getName());
}
int space0 = args.indexOf(' ');
String arg0 = space0 == -1 ? args : args.substring(0, space0);
Optional<Command> optional = commandManager.getCommand(arg0);