mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-27 14:23:02 +00:00
Remove Same URL 9.2
In old versions, even though url repeated in skinurls/clokeurls, it will be loaded again
This commit is contained in:
1 parent
06c3dbb271
commit
e576cee191
1 file changed
+9
@@ -132,6 +132,15 @@ public class CustomSkinLoader {
|
||||
for(int i=0;i<re.length();i++){
|
||||
if(re[i].startWith('#'))
|
||||
re[i]=null;
|
||||
else{
|
||||
for(int g=0;g<re.length();g++){
|
||||
if(i==g)
|
||||
continue;
|
||||
if(re[i].equalsIgnoreCase(re[g])){
|
||||
re[i]=null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return re;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user