Prompt for download link

This commit is contained in:
Jesse Boyd 2018-08-28 03:36:51 +10:00
parent 3e15d63448
commit 57a977e148
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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);
}
}