Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Rename FAWE Threads to be more identifiable.
Dieser Commit ist enthalten in:
Ursprung
f71ca32140
Commit
af3c723e0d
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren