Fix author/name swap in //schem share.

This commit is contained in:
wizjany 2021-05-25 15:26:46 -04:00 committed by GitHub
parent 8e5020fd8a
commit 76147474d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -428,8 +428,8 @@ private static class SchematicShareTask extends SchematicOutputTask<Consumer<Act
public Consumer<Actor> call() throws Exception {
ClipboardShareMetadata metadata = new ClipboardShareMetadata(
format,
this.actor.getName(),
name == null ? actor.getName() + "-" + System.currentTimeMillis() : name
name == null ? actor.getName() + "-" + System.currentTimeMillis() : name,
this.actor.getName()
);
return destination.share(metadata, this::writeToOutputStream);