mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-21 00:07:48 +01:00
Change warning message
This commit is contained in:
parent
05826266a5
commit
6d5c1e4a30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user