Use temporary clipboard

This commit is contained in:
Jesse Boyd 2018-04-22 00:09:23 +10:00
parent cfe47d25d2
commit 7065492740
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -325,7 +325,7 @@ public class SchematicCommands extends MethodCommands {
// If we have a transform, bake it into the copy
if (!transform.isIdentity()) {
final FlattenedClipboardTransform result = FlattenedClipboardTransform.transform(clipboard, transform, holder.getWorldData());
target = new BlockArrayClipboard(result.getTransformedRegion(), player.getUniqueId());
target = new BlockArrayClipboard(result.getTransformedRegion(), UUID.randomUUID());
target.setOrigin(clipboard.getOrigin());
Operations.completeLegacy(result.copyTo(target));
} else {