From 6d5c1e4a3065d120ae09f9d093ca2def8cb2677e Mon Sep 17 00:00:00 2001 From: filoghost Date: Tue, 13 Jul 2021 19:16:13 +0200 Subject: [PATCH] Change warning message --- .../plugin/commands/subs/ReadimageCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/commands/subs/ReadimageCommand.java b/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/commands/subs/ReadimageCommand.java index 652dfb7a..961c4266 100644 --- a/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/commands/subs/ReadimageCommand.java +++ b/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/commands/subs/ReadimageCommand.java @@ -86,7 +86,7 @@ public class ReadimageCommand extends LineEditingCommand { image = ImageReader.readImage(new URL(fileName)); } else { if (fileName.matches(".*[a-zA-Z0-9\\-]+\\.[a-zA-Z0-9\\-]{1,4}/.+")) { - DisplayFormat.sendWarning(sender, "The image path seems to be an URL. If so, please use http:// or https:// in the path."); + DisplayFormat.sendWarning(sender, "The image path seems to be an URL. If so, please use the http[s]:// prefix."); } Path targetImage = hologramEditor.getUserReadableFile(fileName);