From 06c3dbb2717157be98f8dfee25c62a164486a338 Mon Sep 17 00:00:00 2001 From: xfl03 Date: Sun, 20 Apr 2014 12:15:13 +0800 Subject: [PATCH] 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. --- 1.7.2-mcp903/src/minecraft/idv/jlchntoz/CustomSkinLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.7.2-mcp903/src/minecraft/idv/jlchntoz/CustomSkinLoader.java b/1.7.2-mcp903/src/minecraft/idv/jlchntoz/CustomSkinLoader.java index 13fa148..096b51f 100644 --- a/1.7.2-mcp903/src/minecraft/idv/jlchntoz/CustomSkinLoader.java +++ b/1.7.2-mcp903/src/minecraft/idv/jlchntoz/CustomSkinLoader.java @@ -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);