From 57a977e148fa809c2ee85f039be3258155479ee7 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 28 Aug 2018 03:36:51 +1000 Subject: [PATCH] Prompt for download link --- .../java/com/sk89q/worldedit/command/ClipboardCommands.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java b/core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java index 19405372..e8bf5dc0 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java @@ -36,6 +36,7 @@ import com.boydti.fawe.object.schematic.Schematic; import com.boydti.fawe.util.ImgurUtility; import com.boydti.fawe.util.MainUtil; import com.boydti.fawe.util.MaskTraverser; +import com.boydti.fawe.util.chat.Message; import com.boydti.fawe.util.gui.FormBuilder; import com.boydti.fawe.wrappers.FakePlayer; import com.sk89q.minecraft.util.commands.*; @@ -383,7 +384,7 @@ public class ClipboardCommands extends MethodCommands { return; } } - BBC.DOWNLOAD_LINK.send(player, urlText); + new Message().text(BBC.DOWNLOAD_LINK.f(url)).link(url.toString()).send(player); } }