diff --git a/LICENSE b/LICENSE index aa48cb0..c06b61c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Even though the source code is public, the following license: +Even though the source code is public, the following license applies: This software, its source code and its binaries are Copyright © 2018 Nicolas BARBOTIN and are the intellectual property of the author. It may be not be reproduced under any circumstances except for personal, private use as long as it remains in its unaltered, unedited form. diff --git a/src/main/java/net/montoyo/wd/utilities/Util.java b/src/main/java/net/montoyo/wd/utilities/Util.java index 69e5220..2fe34cd 100644 --- a/src/main/java/net/montoyo/wd/utilities/Util.java +++ b/src/main/java/net/montoyo/wd/utilities/Util.java @@ -147,7 +147,7 @@ public abstract class Util { } public static String addProtocol(String str) { - return str.contains("://") ? str : ("http://" + str); + return (str.isEmpty() || str.contains("://")) ? str : ("http://" + str); } public static boolean isFileNameInvalid(String fname) { diff --git a/src/main/resources/assets/webdisplays/textures/items/lasermouse.png b/src/main/resources/assets/webdisplays/textures/items/lasermouse.png deleted file mode 100644 index 2edf0eb..0000000 Binary files a/src/main/resources/assets/webdisplays/textures/items/lasermouse.png and /dev/null differ