Skip to content

Commit f56cea3

Browse files
committedDec 14, 2015
Fix optifine
1 parent e8021bc commit f56cea3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public static void onDownloadSkin(EventInfo<ThreadDownloadImageData> e) {
4646
if (imageDownload != null) {
4747
String imageUrl = PrivateFields.imageUrl.get(imageDownload);
4848
if (imageUrl != null) {
49+
if (imageUrl.contains("optifine.net"))
50+
return; // ignore optifine capes
4951
String hash = FilenameUtils.getBaseName(imageUrl);
5052
String uuid = resolvePlayerIdFromHash(hash);
5153
if (uuid == null) {

0 commit comments

Comments
 (0)