From f56cea35977d5bbc7e3834d52adcaacd7f8a595c Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Mon, 14 Dec 2015 05:42:18 -0500 Subject: [PATCH] Fix optifine --- src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java b/src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java index c776c266..d4f1070b 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/HDSkinManager.java @@ -46,6 +46,8 @@ public final class HDSkinManager { if (imageDownload != null) { String imageUrl = PrivateFields.imageUrl.get(imageDownload); if (imageUrl != null) { + if (imageUrl.contains("optifine.net")) + return; // ignore optifine capes String hash = FilenameUtils.getBaseName(imageUrl); String uuid = resolvePlayerIdFromHash(hash); if (uuid == null) {