}
public static String getCapeUrl(String par0Str, String par1Str) {
String playerCloakUrl;
String cleanUserName = ChatColor.stripColor(par0Str);
VIP vip = Resources.getVIP(cleanUserName);
if (par1Str != null) {
playerCloakUrl = par1Str;
} else {
playerCloakUrl = String.format("http://skins.minecraft.net/MinecraftCloaks/%s.png", new Object[] {StringUtils.stripControlCodes(par0Str)});
}
if (vip != null && vip.getCape() != null) {
playerCloakUrl = vip.getCape();
} else {
Holiday holiday = Resources.getHoliday();
if (holiday != null && holiday.getCape() != null) {
playerCloakUrl = holiday.getCape();
}