From 76147474d8f55200faddfa32677ffbe3b477f26a Mon Sep 17 00:00:00 2001 From: wizjany Date: Tue, 25 May 2021 15:26:46 -0400 Subject: [PATCH] Fix author/name swap in //schem share. --- .../java/com/sk89q/worldedit/command/SchematicCommands.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java index cc0b73988..9b34c1778 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java @@ -428,8 +428,8 @@ private static class SchematicShareTask extends SchematicOutputTask 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);