mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 19:14:22 +00:00
Ignore urls that are empty:) Still 9.2
Small Update..... Only wants to fix some mistakes in coding Just like meanless "\n" It is not easy to remove.
This commit is contained in:
1 parent
350904aeaf
commit
06c3dbb271
1 file changed
+1
-1
@@ -46,7 +46,7 @@ public class CustomSkinLoader {
|
||||
refreshSkinURL(); // If the list is blank or null, try to load
|
||||
// again.
|
||||
for (String l : isCloak ? cloakURLs : skinURLs) {
|
||||
if(l==null)
|
||||
if(l==null||l.equalsIgnoreCase(""))
|
||||
continue;
|
||||
String loc = str_replace("*", playerName, l);
|
||||
logger.log(Level.INFO, "Try to load " + (isCloak ? "cloak" : "skin") + " in " + loc);
|
||||
|
||||
Reference in new issue
Block a user